Share via


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

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

  • 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.

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 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

FPCFTPCacheConfiguration

Send comments about this topic to Microsoft

Build date: 6/30/2010