Platform SDK: Active Directory, ADSI, and Directory Services

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 in Vtable Order

Property Description
ServerName

[Visual Basic]
Access: Read/Write
Data Type: BSTR

[C++]
HRESULT get_ServerName
(BSTR
*retVal);

HRESULT put_ServerName
(BSTR
bstrServerName);

Name of the name server holding the replica.
ReplicaType

[Visual Basic]
Access: Read/Write
Data Type: LONG

[C++]
HRESULT get_ReplicaType
(LONG
*retval);

HRESULT put_ReplicaType
(LONG
lnType);

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

[Visual Basic]
Access: Read/Write
Data Type: LONG

[C++]
HRESULT get_ReplicaNumber
(LONG
*retval);

HRESULT put_ReplicaNumber
(LONG
lnReplicaNumber);

Identification number of the replica.
Count

[Visual Basic]
Access: Read/Write
Data Type: LONG

[C++]
HRESULT get_Count
(LONG
*retval);

HRESULT put_Count
(LONG
lnCount);

The number of existing replicas.
ReplicalAddressHints

[Visual Basic]
Access: Read/Write
Data Type: VARIANT

[C++]
HRESULT get_ReplicaAddressHints
(VARIANT
*retval);

HRESULT put_ReplicaAddressHints
(VARIANT
vReplicaAddressHints);

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

See Also

IADsReplicaPointer, ADS_REPLICAPOINTER