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