IGraphicFeatureServer2.DeleteAttachments2 Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGraphicFeatureServer2.DeleteAttachments2 Method

[Visual Basic .NET]
Public Function DeleteAttachments2 ( _
    ByVal gdbVersion As String, _
    ByVal LayerOrTableID As Integer, _
    ByVal idsOfAttachmentsToDelete As ILongArray, _
    ByVal rollbackOnFailure As Boolean _
) As IEditResults
[C#]
public IEditResults DeleteAttachments2 (
    string gdbVersion,
    int LayerOrTableID,
    ILongArray idsOfAttachmentsToDelete,
    bool rollbackOnFailure
);
[C++]
HRESULT DeleteAttachments2(
  BSTR gdbVersion,
  long LayerOrTableID,
  ILongArray* idsOfAttachmentsToDelete,
  VARIANT_BOOL rollbackOnFailure
);
[C++]

Parameters gdbVersion [in]
gdbVersion is a parameter of type BSTR LayerOrTableID [in]
LayerOrTableID is a parameter of type long idsOfAttachmentsToDelete [in]
idsOfAttachmentsToDelete is a parameter of type ILongArray* rollbackOnFailure [in]
rollbackOnFailure is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGraphicFeatureServer2 Interface