Share via


Admin.IsCachingEnabled method

Reserved for internal use. Gets the current status of caching in the middle tier.

Namespace:  WebSvcAdmin
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
<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
'Usage
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
)

Parameters

  • cacheType
    Type: WebSvcAdmin.CacheType

    The only value available in Project Server 2010 is the Database constant (value = 0).

Return value

Type: System.Boolean

See also

Reference

Admin class

Admin members

WebSvcAdmin namespace