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

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.

lPhase2KBRekeying

A 32-bit integer value that specifies 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 Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCVpnNetworkIPSecSettings


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.