Share via


SPCache.ObjectCacheExists method

Returns a Boolean value indicating whether an object cache with the specified object type exists.

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

Syntax

'Declaration
Public Function ObjectCacheExists ( _
    objectTypeName As String _
) As Boolean
'Usage
Dim instance As SPCache
Dim objectTypeName As String
Dim returnValue As Boolean

returnValue = instance.ObjectCacheExists(objectTypeName)
public bool ObjectCacheExists(
    string objectTypeName
)

Parameters

Return value

Type: System.Boolean
Returns Boolean.

See also

Reference

SPCache class

SPCache members

Microsoft.Office.Server.ObjectCache namespace