Share via


SPCachedObject.ExpireAfter property

Gets or sets the expiration DateTime.

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

Syntax

'Declaration
Public Property ExpireAfter As DateTime
    Get
    Set
'Usage
Dim instance As SPCachedObject
Dim value As DateTime

value = instance.ExpireAfter

instance.ExpireAfter = value
public DateTime ExpireAfter { get; set; }

Property value

Type: System.DateTime
Returns DateTime.

See also

Reference

SPCachedObject class

SPCachedObject members

Microsoft.Office.Server.ObjectCache namespace