Share via


QuarantineTimeout Property of the IFPCVpnQuarantineSettings Interface

The QuarantineTimeout property gets or sets the time, in seconds, that a connection can remain in the restricted state before disconnecting.

C++

HRESULT put_QuarantineTimeout(
    long lQuarantineTimeout
);
HRESULT get_QuarantineTimeout(
    long* plQuarantineTimeout
);

Parameters

  • lQuarantineTimeout
    A 32-bit integer that specifies the time, in seconds, that a connection can remain in the restricted state before disconnecting.

  • plQuarantineTimeout
    Pointer to a variable that on return receives a 32-bit integer specifying the time, in seconds, that a connection can remain in the restricted state before disconnecting.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property QuarantineTimeout As Long

Property Value

A 32-bit integer that specifies the time, in seconds, that a connection can remain in the restricted state before disconnecting.

Remarks

This property is read/write. The default time-out period is 0, and its range of permissible values is from 0 through 86,400 seconds (24 hours).

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCVpnQuarantineSettings

Send comments about this topic to Microsoft

Build date: 6/30/2010