IFPCVpnNetworkIPSecSettings::Phase2RekeyingTime property
Applies to: desktop apps only
The Phase2RekeyingTime property gets or sets the Phase 2 rekeying time, in seconds.
This property is read/write.
Syntax
HRESULT put_Phase2RekeyingTime(
long lPhase2RekeyingTime
);
HRESULT get_Phase2RekeyingTime(
long *plPhase2RekeyingTime
);
' Data type: Long
Property Phase2RekeyingTime( _
ByVal lPhase2RekeyingTime As long, _
ByVal plPhase2RekeyingTime As long _
) As Long
Property value
A 32-bit integer value that specifies the Phase 2 rekeying time, in seconds.
Error codes
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Remarks
This property is read/write. Its default value is 3,600 seconds (1 hour), and its range of permissible values is from 300 seconds (5 minutes) through 172,800 (48 hours).
Time-base phase 2 rekeying occurs only if the Phase2UseTimeRekeying property is set to True (VARIANT_TRUE in C++) (the default value).
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
IDL |
Msfpccom.idl |
DLL |
Msfpccom.dll |
See also
Build date: 7/12/2010