Directory Services |
The DsBindToISTG function binds to the computer that holds the Inter-Site Topology Generator (ISTG) role in the domain of the local computer. This function is used to obtain the bind handle for use with the DsQuerySitesByCost function.
DWORD WINAPI DsBindToISTG( LPCTSTR SiteName, HANDLE* phDS );
Return Code | Description |
---|---|
ERROR_INVALID_PARAMETER | The phDS parameter is invalid. |
ERROR_NOT_ENOUGH_MEMORY | A memory allocation failure occurred. |
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.
Unicode: Implemented as Unicode and ANSI versions on Windows
NT/2000/XP.
Header: Declared in Ntdsapi.h.
Library: Use Ntdsapi.lib.
DsQuerySitesByCost, DsUnBind, Domain Controller and Replication Management Functions