IADsDNWithString Property Methods

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

Properties

DNString

The DN string associated with a string value.

Access type: Read/write

Scripting data type: BSTR

// C++ method syntax
HRESULT get_DNString(
  [out] BSTR* retval
);
HRESULT put_DNString(
  [in] BSTR bstrDN
);

StringValue

The string value associated with a DN of an object.

Access type: Read/write

Scripting data type: BSTR

// C++ method syntax
HRESULT get_StringValue(
  [out] BSTR* retVal
);
HRESULT put_StringValue(
  [in] BSTR varBV
);

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Iads.h
DLL
Activeds.dll
IID
IID_IADsDNWithString is defined as 370DF02E-F934-11D2-BA96-00C04FB6D0D1

See also

IADsDNWithString

ADS_DN_WITH_STRING