Directory Services

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

Property Description
StringValue

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

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

The string value associated with a DN of an object.
DNString

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

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

The DN string associated with a string value.

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

IADsDNWithString, ADS_DN_WITH_STRING