SPCache.ObjectCacheExists 方法
返回一个布尔值,该值指示是否存在与指定的对象类型对象缓存。
命名空间: Microsoft.Office.Server.ObjectCache
程序集: Microsoft.Office.Server(位于 Microsoft.Office.Server.dll 中)
语法
声明
Public Function ObjectCacheExists ( _
objectTypeName As String _
) As Boolean
用法
Dim instance As SPCache
Dim objectTypeName As String
Dim returnValue As Boolean
returnValue = instance.ObjectCacheExists(objectTypeName)
public bool ObjectCacheExists(
string objectTypeName
)
参数
- objectTypeName
类型:System.String
返回值
类型:System.Boolean
返回 Boolean。