Platform SDK: Active Directory, ADSI, and Directory Services |
The DsUnBind functions finds an RPC session with a domain controller and unbinds a handle to the directory service (DS).
DWORD DsUnBind( HANDLE *phDS );
NO_ERROR.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Ntdsapi.h.
Library: Included as a resource in Ntdsapi.dll.
Unicode: Implemented as Unicode and ANSI versions on Windows 2000.
DC and Replication Management Functions, DsBind, DsBindWithCred