Share via


IFPCFTPCacheConfiguration::FTPTTLUnits property

Applies to: desktop apps only

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.

This property is read/write.

Syntax

HRESULT put_FTPTTLUnits(
  FpcTimeScale TimeUnits
);

HRESULT get_FTPTTLUnits(
  FpcTimeScale *pTimeUnits
);
' Data type: FpcTimeScale

Property FTPTTLUnits( _
  ByVal TimeUnits As FpcTimeScale, _
  ByVal pTimeUnits As FpcTimeScale _
) As FpcTimeScale

Property value

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

Error codes

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

Remarks

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

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCFTPCacheConfiguration

 

 

Build date: 7/12/2010