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

IWorkspaceReplicasAdmin2.RegisterReplicaDataset Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceReplicasAdmin2 Interface > IWorkspaceReplicasAdmin2.RegisterReplicaDataset Method
ArcGIS Developer Help

IWorkspaceReplicasAdmin2.RegisterReplicaDataset Method

Register replica dataset info with the replica.

[Visual Basic .NET]
Public Sub RegisterReplicaDataset ( _
    ByVal RDataset As IReplicaDataset, _
    ByVal filter As esriRowsType, _
    ByVal UseGeometry As Boolean, _
    ByVal QueryDef As String, _
    ByVal pSelID As IFIDSet, _
    ByVal pToReplica As IReplica _
public void RegisterReplicaDataset (
    IReplicaDataset RDataset,
    esriRowsType filter,
    bool UseGeometry,
    string QueryDef,
    IFIDSet pSelID,
    IReplica pToReplica
HRESULT RegisterReplicaDataset(
  IReplicaDataset* RDataset,
  esriRowsType filter,
  VARIANT_BOOL UseGeometry,
  BSTR QueryDef,
  IFIDSet* pSelID,
  IReplica* pToReplica
RDataset [in]

RDataset is a parameter of type IReplicaDataset* filter [in]
filter is a parameter of type esriRowsType UseGeometry [in]
UseGeometry is a parameter of type bool QueryDef [in]
QueryDef is a parameter of type BSTR pSelID [in]
pSelID is a parameter of type IFIDSet* pToReplica [in]
pToReplica is a parameter of type IReplica*

Product Availability

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


Feature classes and tables can be registered using this method. Other datasets may or may not be supported - use the CanRegisterReplicaDataset method to determine whether they can be registered.

See Also

IWorkspaceReplicasAdmin2 Interface