get_Timeout
This property is used to assign or get the timeout value in milliseconds for all ADS functions of the ITcAdsSync interface.
Get the timeout value.
HRESULT get_Timeout(long *pTime);
Parameters
pTime | [out, retval] Pointer to a variable containing the current timeout value. |
Return values
S_OK | The function was called successfully. |
An error occurs. |
Assign new timeout value
HRESULT put_Timeout(long nTime);Parameter pTime[in] Variable containing the new timeout value.Return values S_OKThe function was called successfully.ADSERRORCODESAn error occurs.Notes |