# AccessExtraction

Bounded exports from the native typed model.

Class 

`OfficeIMO.Access`

**Namespace**

`OfficeIMO.Access`

**Assembly**

`OfficeIMO.Access`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[AccessExtraction.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Access/Audit/AccessExtraction.cs#L17)

**Modifiers**

static

Bounded exports from the native typed model.

## Inheritance

- object
- AccessExtraction

Filter members 

Show inherited

## Methods

`public static AccessAttachmentExportReport ExportAttachments(AccessDocument document, string tableName, string columnName, string outputDirectory, long maxRows = 1000000, long maxAttachmentBytes = 268435456, CancellationToken cancellationToken = default)` [#](#method-exportattachments-officeimo-access-accessdocument-string-string-string-int64-int64-threading-cancellationtoken)

[AccessExtraction.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Access/Audit/AccessExtraction.cs#L17)

Exports one attachment column to a new directory. Output names are generated, original file names are returned as metadata, and the total decoded bytes and number of output files are bounded.

Parameters

**document OfficeIMO.Access.AccessDocument required**

**tableName string required**

**columnName string required**

**outputDirectory string required**

**maxRows long = 1000000 optional**

**maxAttachmentBytes long = 268435456 optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`AccessAttachmentExportReport`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:0EAD218B2AAA7C1020357CD6BD24CDA9E202E5AEE7E34F2926AC7AB463026A0B -->
