Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DsUnBind

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 Vista

Minimum supported server

Windows Server 2003

Header

Ntdsapi.h

Library

Ntdsapi.lib

DLL

Ntdsapi.dll

Unicode and ANSI names

DsUnBindW (Unicode) and DsUnBindA (ANSI)

See also

DsBind
DsBindWithCred
DsBindWithSpn
Domain Controller and Replication Management Functions

 

 

Show:
© 2015 Microsoft