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


IGPReplicaDatasets.Insert Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPReplicaDatasets.Insert Method

Adds dataset filtered property at the specified position.

[Visual Basic .NET]
Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal GPReplicaDataset As IGPReplicaDataset _
)
[C#]
public void Insert (
    int Index,
    IGPReplicaDataset GPReplicaDataset
);
[C++]
HRESULT Insert(
  long Index,
  IGPReplicaDataset* GPReplicaDataset
);
[C++]

Parameters Index [in] Index is a parameter of type long GPReplicaDataset [in]
GPReplicaDataset is a parameter of type IGPReplicaDataset

Product Availability

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

Remarks

This method adds a replica dataset to the GPReplicaDatasets at a specified location.

This method takes an index and a reference to a GPReplicaDataset object.  See the GPReplicaDataset coclass.

See Also

IGPReplicaDatasets Interface