ITcAdsSync::Timeout

This property is used to assign or retrieve the timeout value in milliseconds for all other Ads functions of the ITcAdsSync interface.

Retrieve the Timeout value

HRESULT get_Timeout(long *pTime); 

Parameters

pTime

[out, retval] Pointer to a variable that holds the current timeout value

Return Values

S_OK

The function was successfully called

ADSERRORCODES

An Error occurs

Assign a new Timeout value

HRESULT put_Timeout(long nTime);
Parameters

nTime

[in] A variable that holds the new timeout value

Return Values

S_OK

The function was successfully called

ADSERRORCODES

An Error occurs