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
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
