Admin.EnableCaching method
Office 2013
Reserved for internal use. Activates or deactivates caching in the middle tier.
Namespace: WebSvcAdmin
Assembly: ProjectServerServices (in ProjectServerServices.dll)
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Admin/EnableCaching", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Admin/", _
ResponseNamespace := "http://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("http://schemas.microsoft.com/office/project/server/webservices/Admin/EnableCaching", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Admin/", ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Admin/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public void EnableCaching( CacheType cacheType, bool enable )
Parameters
- cacheType
- Type: WebSvcAdmin.CacheType
The only value available in Project Server is the Database constant (value = 0).
- enable
- Type: System.Boolean
True to enable caching; false to disable caching.