This document is archived and information here might be outdated.  Recommended version.


IGraphicFeatureServer2.UpdateAttachments2 Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IGraphicFeatureServer2.UpdateAttachments2 Method

Updates Attachments.

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

Parameters gdbVersion [in] gdbVersion is a parameter of type BSTR LayerOrTableID [in] LayerOrTableID is a parameter of type long attachmentDataArray [in]
attachmentDataArray is a parameter of type IAttachmentDataArray rollbackOnFailure [in] rollbackOnFailure is a parameter of type VARIANT_BOOL EditResults [out, retval]
EditResults is a parameter of type IEditResults

Product Availability

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

See Also

IGraphicFeatureServer2 Interface