Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IADsADSystemInfo::GetAnyDCName method retrieves the DNS name of a ___domain controller in the local computer's ___domain.
Syntax
HRESULT GetAnyDCName(
[out] BSTR *pszDCName
);
Parameters
[out] pszDCName
Name of a ___domain controller, such as "ADServer1.domain1.Fabrikam.com".
Return value
This method supports the standard HRESULT return values. For more information, see ADSI Error Codes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | iads.h |
DLL | Activeds.dll |