Share via


Phase1RekeyingTime Property of the IFPCVpnNetworkIPSecSettings Interface

The Phase1RekeyingTime property gets or sets the Phase 1 rekeying time, in seconds.

C++

HRESULT put_Phase1RekeyingTime(
    long lPhase1RekeyingTime
);
HRESULT get_Phase1RekeyingTime(
    long* plPhase1RekeyingTime
);

Parameters

  • lPhase1RekeyingTime
    A 32-bit integer value that specifies the Phase 1 rekeying time, in seconds.

  • plPhase1RekeyingTime
    Pointer to a 32-bit integer that is set on return to a long value specifying the Phase 1 rekeying time, in seconds.

Return Value

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

Visual Basic

Property Phase1RekeyingTime As Long

Property Value

A 32-bit integer value that specifies the Phase 1 rekeying time, in seconds.

Remarks

This property is read/write. Its default value is 28,800 seconds (8 hours), and it must be set to a value equal to or greater than 60 seconds.

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

FPCVpnNetworkIPSecSettings

Send comments about this topic to Microsoft

Build date: 6/30/2010