ArcObjects Library Reference (Carto)  

IGraphicFeatureServer2.DeleteByID2 Method

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

Parameters

VersionName [in]   VersionName is a parameter of type BSTR LayerOrTableID [in]   LayerOrTableID is a parameter of type long idsOfObjectsToDelete [in]

  idsOfObjectsToDelete is a parameter of type ILongArray

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