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


IGPReplicaOptions.ChildConnectionString Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPReplicaOptions.ChildConnectionString Property

The connection string for the child geodatabase.

[Visual Basic .NET]
Public Property ChildConnectionString As String
[C#]
public string ChildConnectionString {get; set;}
[C++]
HRESULT get_ChildConnectionString(
  BSTR ChildConnectionString
);
[C++]
HRESULT put_ChildConnectionString(
  System.String* ChildConnectionString
);
[C++]

Parameters ChildConnectionString [in]
ChildConnectionString is a parameter of type BSTR ChildConnectionString [out, retval]
ChildConnectionString 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 child replica. Setting the property stores the connection string with the parent replica. This allows you to synchronzie without having to ask for the child replicas geodatabase when synchronizing from the parent.

See Also

IGPReplicaOptions Interface