Skip to content

Latest commit

 

History

History
216 lines (141 loc) · 3.87 KB

iadsreplicapointer-property-methods.md

File metadata and controls

216 lines (141 loc) · 3.87 KB
title description ms.assetid ms.tgt_platform keywords topic_type api_name api_location api_type ms.topic ms.date
IADsReplicaPointer Property Methods (Iads.h)
The property method of the IADsReplicaPointer interface sets the property described in the following table. For more information, see Interface Property Methods.
fc520ea4-b2c2-44c0-8bec-25f8d4a77074
multiple
IADsReplicaPointer Property Methods ADSI
apiref
IADsReplicaPointer Property Methods
IADsReplicaPointer.ServerName
IADsReplicaPointer.get_ServerName
IADsReplicaPointer.put_ServerName
IADsReplicaPointer.ReplicaType
IADsReplicaPointer.get_ReplicaType
IADsReplicaPointer.put_ReplicaType
IADsReplicaPointer.ReplicaNumber
IADsReplicaPointer.get_ReplicaNumber
IADsReplicaPointer.put_ReplicaNumber
IADsReplicaPointer.Count
IADsReplicaPointer.get_Count
IADsReplicaPointer.put_Count
IADsReplicaPointer.ReplicaAddressHints
IADsReplicaPointer.get_ReplicaAddressHints
IADsReplicaPointer.put_ReplicaAddressHints
Activeds.dll
COM
reference
05/31/2018

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