Platform SDK: Active Directory, ADSI, and Directory Services

DsUnBind

The DsUnBind functions finds an RPC session with a domain controller and unbinds a handle to the directory service (DS).

DWORD DsUnBind(
  HANDLE *phDS
);

Parameters

phDS
[in] Pointer to a bind handle to the directory service.

Return Values

NO_ERROR.

Requirements

  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.

See Also

DC and Replication Management Functions, DsBind, DsBindWithCred