Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.