다음을 통해 공유


CacheParameter.lifetime Property

Gets or sets the default retention period for items in the cache.

Namespace:  Microsoft.Office.Server.ObjectCache
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Property lifetime As TimeSpan
    Get
    Set
'Usage
Dim instance As CacheParameter
Dim value As TimeSpan

value = instance.lifetime

instance.lifetime = value
public TimeSpan lifetime { get; set; }

Property Value

Type: System.TimeSpan
Returns TimeSpan.

See Also

Reference

CacheParameter Structure

CacheParameter Members

Microsoft.Office.Server.ObjectCache Namespace