Directory Services |
The DsGetDcSiteCoverage function returns the site names of all sites covered by a domain controller.
DWORD DsGetDcSiteCoverage( LPCTSTR ServerName, PULONG EntryCount, LPTSTR** SiteNames );
Return Code | Description |
---|---|
ERROR_NOT_ENOUGH_MEMORY | Insufficient memory to complete the operation. |
NO_ERROR | The function succeeded. |
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Unicode: Implemented as Unicode and ANSI versions.
Header: Declared in Dsgetdc.h.
Library: Use Netapi32.lib.
NetApiBufferFree, DsGetSiteName, Directory Service Functions