Share via


Phase2KBRekeying Property of the IFPCVpnNetworkIPSecSettings Interface

The Phase2KBRekeying property gets or sets the amount of data transferred before Phase 2 rekeying, in kilobytes (KB).

C++

HRESULT put_Phase2KBRekeying(
    long lPhase2KBRekeying
);
HRESULT get_Phase2KBRekeying(
    long* plPhase2KBRekeying
);

Parameters

  • lPhase2KBRekeying
    A 32-bit integer value that specifies the amount of data transferred before Phase 2 rekeying, in kilobytes.

  • plPhase2KBRekeying
    Pointer to a 32-bit integer that is set on return to a long value specifying the amount of data transferred before Phase 2 rekeying, in kilobytes.

Return Value

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

Visual Basic

Property Phase2KBRekeying As Long

Property Value

A 32-bit integer value that specifies the amount of data transferred before Phase 2 rekeying, in kilobytes.

Remarks

This property is read/write. Its default value is 100,000 kilobytes, and its range of permissible values is from 20,480 through 2,000,000,000 kilobytes.

Phase 2 rekeying based on the amount of data transferred occurs only if the Phase2UseKBRekeying property is set to True (VARIANT_TRUE in C++).

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