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

Property Description
ServerName

[Visual Basic]
Access: Read/Write
DataType: BSTR

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

Name of the name server holding the replica.
ReplicaType

[Visual Basic]
Access: Read/Write
DataType: Long

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

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

[Visual Basic]
Access: Read/Write
DataType: Long

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

Identification number of the replica.
Count

[Visual Basic]
Access: Read/Write
DataType: Long

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

The number of existing replicas.
ReplicalAddressHints

[Visual Basic]
Access: Read/Write
DataType: Variant

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

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

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

IADsReplicaPointer, ADS_REPLICAPOINTER