Admin.IsCachingEnabled 方法

仅供内部使用。获取中间层中的缓存的当前状态。

命名空间:  WebSvcAdmin
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/IsCachingEnabled", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function IsCachingEnabled ( _
    cacheType As CacheType _
) As Boolean
用法
Dim instance As Admin
Dim cacheType As CacheType
Dim returnValue As Boolean

returnValue = instance.IsCachingEnabled(cacheType)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/IsCachingEnabled", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public bool IsCachingEnabled(
    CacheType cacheType
)

参数

  • cacheType
    类型:WebSvcAdmin.CacheType

    Project Server 2010中提供的唯一值是Database常量 (值 = 0)。

返回值

类型:System.Boolean

另请参阅

引用

Admin 类

Admin 成员

WebSvcAdmin 命名空间