Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The property method of the IADsReplicaPointer interface sets the property described in the following table. For more information, see Interface Property Methods.
Properties
-
Count
-
-
Access type: Read/write
-
Scripting data type: LONG
-
// C++ method syntax HRESULT get_Count( [out] LONG* retval ); HRESULT put_Count( [in] LONG lnCount );
The number of existing replicas.
-
-
ReplicaAddressHints
-
-
Access type: Read/write
-
Scripting data type: VARIANT
-
// C++ method syntax 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.
-
-
ReplicaNumber
-
-
Access type: Read/write
-
Scripting data type: LONG
-
// C++ method syntax HRESULT get_ReplicaNumber( [out] LONG* retval ); HRESULT put_ReplicaNumber( [in] LONG lnReplicaNumber );
Identification number of the replica.
-
-
ReplicaType
-
-
Access type: Read/write
-
Scripting data type: LONG
-
// C++ method syntax HRESULT get_ReplicaType( [out] LONG* retval ); HRESULT put_ReplicaType( [in] LONG lnType );
Type of replica (master, secondary, or read-only.)
-
-
ServerName
-
-
Access type: Read/write
-
Scripting data type: BSTR
-
// C++ method syntax HRESULT get_ServerName( [out] BSTR* retVal ); HRESULT put_ServerName( [in] BSTR bstrServerName );
Name of the name server holding the replica.
-
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista |
| Minimum supported server |
Windows Server 2008 |
| Header |
|
| DLL |
|
| IID |
IID_IADsReplicaPointer is defined as F60FB803-4080-11D1-A3AC-00C04FB950DC |