共用方式為


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 命名空間