DsUnBind function
The DsUnBind function finds an RPC session with a domain controller and unbinds a handle to the directory service (DS).
Syntax
DWORD DsUnBind( _In_ HANDLE *phDS );
Parameters
- phDS [in]
-
Pointer to a bind handle to the directory service. This handle is provided by a call to DsBind, DsBindWithCred, or DsBindWithSpn.
Return value
NO_ERROR
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Redistributable | Active Directory Client Extension on Windows NT 4.0 and Windows Me/98/95 |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | DsUnBindW (Unicode) and DsUnBindA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012