| INT WINAPI LlmGetTimeout( |
| |
HCLIENT hClient |
|
| ); |
The LlmGetTimeout function returns the number of seconds
the client will wait for a response from the server.
Parameters
- hClient
- A handle to the client session.
Return Value
If the function succeeds, the return value is the timeout period
in seconds. If the function fails, the return value is LLM_ERROR. To
get extended error information, call LlmGetLastError.
Remarks
The LlmGetTimeout function returns the current timeout value for
the specified client session. This value specifies the maximum amount of
time, in seconds, that the client will wait for a response from the
provider before the request is aborted.
The timeout applies to network operations performed when communicating
with the provider. If the timeout period is exceeded, the request will
fail and the last error code will indicate a timeout condition.
The timeout value may be specified when creating a session using
LlmConnectEx and the LLM_SESSION structure, or modified at runtime
using LlmSetTimeout.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csllmv12.lib
See Also
LlmConnectEx,
LlmGetCacheTime,
LlmGetIdleTime,
LlmSetTimeout
|