The IADsAlias interface is used to get and set the properties of the Alias object. The interface definition is as follows:
[ object, uuid(IID_IADsAlias), oleautomation, dual ]
interface IADsAlias: IADs
{
// Read/write properties.
[propget]
HRESULT AliasedObject ([out, retval]BSTR *pbstrAlias);
[propput]
HRESULT AliasedObject ([in]BSTR bstrAlias);
// Methods.
};
Method | Syntax | Description |
AliasedObject | ADsPath | Gets and sets the object that this alias references. |