다음을 통해 공유


ISPCache.Trim Method (DateTime)

Trims all caches of objects whose expiration dates preceded the specified DateTime.

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

Syntax

'Declaration
Sub Trim ( _
    trimBefore As DateTime _
)
'Usage
Dim instance As ISPCache
Dim trimBefore As DateTime

instance.Trim(trimBefore)
void Trim(
    DateTime trimBefore
)

Parameters

  • trimBefore
    Type: System.DateTime
    A DateTime representing the expiration date in UTC time.

See Also

Reference

ISPCache Interface

ISPCache Members

Trim Overload

Microsoft.Office.Server.ObjectCache Namespace