> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RemoveAttachment

> Rufen Sie RemoveAttachment in der ABBYY FlexiCapture API auf, um einen Anhang anhand des Namens aus einem Dokument, einer Seite oder einem Batch auf dem Application Server zu löschen.

<div id="what-it-does">
  ## Was es macht
</div>

Entfernt den Anhang

<div id="definition">
  ## Definition
</div>

```
void RemoveAttachment( int sessionId, int type, int objectId, int batchId, int projectId, string fileName );Vf
```

<div id="parameters">
  ## Parameter
</div>

<table width="100%"><tbody><tr><td><p><strong>Name</strong></p></td><td><p><strong>Typ</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p>session</p></td><td><p>int</p></td><td><p>Die ID der Verbindung zum Application Server</p></td></tr><tr><td><p>type</p></td><td><p>int</p></td><td><p>Typ des Anhangs. Mögliche Werte</p><ul><li><strong>9</strong> - Anhang zu einem Dokument;</li><li><strong>10</strong> - Anhang zu einer Seite;</li><li><strong>11</strong> - Anhang zu einem Batch.</li></ul></td></tr><tr><td><p>objectId</p></td><td><p>int</p></td><td><p>Die ID des Objekts</p></td></tr><tr><td><p>batchId</p></td><td><p>int</p></td><td><p>Die ID des Batch</p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>Die ID des Projekts</p></td></tr><tr><td><p>fileName</p></td><td><p>string</p></td><td><p>Name des zu löschenden Anhangs</p></td></tr></tbody></table>

<div id="returned-value">
  ## Rückgabewert
</div>

Keiner.
