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 the cache with the specified object type of all objects whose expiration date precedes the specified DateTime.
Namespace: Microsoft.Office.Server.ObjectCache
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Sub Trim ( _
objectTypeName As String, _
trimBefore As DateTime _
)
'Usage
Dim instance As ISPCache
Dim objectTypeName As String
Dim trimBefore As DateTime
instance.Trim(objectTypeName, trimBefore)
void Trim(
string objectTypeName,
DateTime trimBefore
)
Parameters
- objectTypeName
Type: System.String
- trimBefore
Type: System.DateTime
A DateTime representing the expiration date in UTC time.