IADsReplicaPointer Property Methods

The property method of the IADsReplicaPointer interface sets the property described in the following table. For more information, see Interface Property Methods.

Properties

Count

The number of existing replicas.

Access type: Read/write

Scripting data type: LONG

// C++ method syntax
HRESULT get_Count(
  [out] LONG* retval
);
HRESULT put_Count(
  [in] LONG lnCount
);

ReplicaAddressHints

A network address suggested as a likely reference to a node leading to the name server.

Access type: Read/write

Scripting data type: VARIANT

// C++ method syntax
HRESULT get_ReplicaAddressHints(
  [out] VARIANT* retval
);
HRESULT put_ReplicaAddressHints(
  [in] VARIANT vReplicaAddressHints
);

ReplicaNumber

Identification number of the replica.

Access type: Read/write

Scripting data type: LONG

// C++ method syntax
HRESULT get_ReplicaNumber(
  [out] LONG* retval
);
HRESULT put_ReplicaNumber(
  [in] LONG lnReplicaNumber
);

ReplicaType

Type of replica (master, secondary, or read-only.)

Access type: Read/write

Scripting data type: LONG

// C++ method syntax
HRESULT get_ReplicaType(
  [out] LONG* retval
);
HRESULT put_ReplicaType(
  [in] LONG lnType
);

ServerName

Name of the name server holding the replica.

Access type: Read/write

Scripting data type: BSTR

// C++ method syntax
HRESULT get_ServerName(
  [out] BSTR* retVal
);
HRESULT put_ServerName(
  [in] BSTR bstrServerName
);

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Iads.h
DLL
Activeds.dll
IID
IID_IADsReplicaPointer is defined as F60FB803-4080-11D1-A3AC-00C04FB950DC

See also

IADsReplicaPointer

ADS_REPLICAPOINTER