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


IWorkspaceReplicasAdmin2.AlterReplica2 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.AlterReplica2 Method
ArcGIS Developer Help

IWorkspaceReplicasAdmin2.AlterReplica2 Method

Alter replica properties with the ability to persist userID and Password.

[Visual Basic .NET]
Public Sub AlterReplica2 ( _
    ByVal Replica As IReplica, _
    ByVal PersistParentUserInfo As Boolean _
)
[C#]
public void AlterReplica2 (
    IReplica Replica,
    bool PersistParentUserInfo
);
[C++]
HRESULT AlterReplica2(
  IReplica* Replica,
  VARIANT_BOOL PersistParentUserInfo
);
[C++]
Parameters
Replica [in]

Replica is a parameter of type IReplica* PersistParentUserInfo [in]
PersistParentUserInfo is a parameter of type bool

Product Availability

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

See Also

IWorkspaceReplicasAdmin2 Interface