DsBindingSetTimeout function (ntdsapi.h)
The DsBindingSetTimeout function sets the timeout value that is honored by all RPC calls that use the specified binding handle. RPC calls that required more time than the timeout value are canceled.
Syntax
NTDSAPI_POSTXP DWORD DsBindingSetTimeout(
[in] HANDLE hDS,
[in] ULONG cTimeoutSecs
);
Parameters
[in] hDS
Contains a directory service handle obtained from either the DSBind or DSBindWithCred function.
[in] cTimeoutSecs
Contains the new timeout value, in seconds.
Return value
Returns ERROR_SUCCESS if successful or a Win32 or RPC error code otherwise. The following is a possible error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | ntdsapi.h |
Library | Ntdsapi.lib |
DLL | Ntdsapi.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for