This topic has not yet been rated - Rate this topic

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

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

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.