次の方法で共有


Admin.EnableCaching メソッド

内部使用のため予約済みです。アクティブにまたは中間層でキャッシュを無効にします。

名前空間:  WebSvcAdmin
アセンブリ:  ProjectServerServices (ProjectServerServices.dll 内)

構文

'宣言
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/EnableCaching", 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 Sub EnableCaching ( _
    cacheType As CacheType, _
    enable As Boolean _
)
'使用
Dim instance As Admin
Dim cacheType As CacheType
Dim enable As Boolean

instance.EnableCaching(cacheType, enable)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/EnableCaching", 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 void EnableCaching(
    CacheType cacheType,
    bool enable
)

パラメーター

  • cacheType
    型: WebSvcAdmin.CacheType

    Project Server で利用可能な唯一の値は、 Database定数 (値 = 0)。

  • enable
    型: System.Boolean

    Trueキャッシュを有効にするにはfalseのキャッシュを無効にします。

関連項目

参照先

Admin クラス

Admin メンバー

WebSvcAdmin 名前空間