Admin.EnableCaching Method

Reserved for internal use. Activates or deactivates caching in the middle tier.

Namespace:  [Admin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Admin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Admin.asmx?wsdl

Syntax

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

  • enable
    Type: System.Boolean
    True to enable caching; false to disable caching.

Remarks

Not used in Project Server 2010.

See Also

Reference

Admin Class

Admin Members

Admin Web Service