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


IGPReplicaOptions.ParentConnectionString Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPReplicaOptions Interface > IGPReplicaOptions.ParentConnectionString Property
ArcGIS Developer Help

IGPReplicaOptions.ParentConnectionString Property

The connection string for the parent geodatabase.

[Visual Basic .NET]
Public Property ParentConnectionString As String
[C#]
public string ParentConnectionString {get; set;}
[C++]
HRESULT get_ParentConnectionString(
  BSTR ParentConnectionString
);
[C++]
HRESULT put_ParentConnectionString(
  System.String* ParentConnectionString
);
[C++]
Parameters
ParentConnectionString [in]

ParentConnectionString is a parameter of type BSTR ParentConnectionString [out, retval]
ParentConnectionString is a parameter of type BSTR*

Product Availability

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

Remarks

Set this property to the connection string for the ArcSDE geodatabase or the geodata service referencing the ArcSDE geodatabase that will host the parent replica. Setting the property stores the connection string with the child replica. This allows you to synchronzie without having to ask for the parent replicas geodatabase when synchronizing from the child.

See Also

IGPReplicaOptions Interface