FTPTTLUnits Property of the IFPCFTPCacheConfiguration Interface

The FTPTTLUnits property gets or sets a value from the FpcTimeScale enumerated type that specifies the units in which the Time to Live (TTL) is measured. The units can be seconds, minutes, hours, days, or weeks.

[C++]
HRESULT put_FTPTTLUnits(
	FpcTimeScale TimeUnits
);
HRESULT get_FTPTTLUnits(
	FpcTimeScale* pTimeUnits
);

Parameters

pTimeUnits

Pointer to a variable that on return receives a value from the FpcTimeScale enumerated type specifying the units in which the TTL is measured.

TimeUnits

Value from the FpcTimeScale enumerated type that specifies the units in which the TTL is measured.

Return Value

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

[Visual Basic]
Property FTPTTLUnits As FpcTimeScale

Property Value

Value from the FpcTimeScale enumerated type that specifies the units in which the TTL is measured.

Remarks

This property is read/write. Its default value is fpcTimeInDays, which indicates that the TTL is measured in days.

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

FPCFTPCacheConfiguration


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.