Compartir a través de


del método Admin.EnableCaching

Reservado para uso interno. Activa o desactiva el almacenamiento en caché en el nivel intermedio.

Espacio de nombres:  WebSvcAdmin
Ensamblado:  ProjectServerServices (en ProjectServerServices.dll)

Sintaxis

'Declaración
<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 _
)
'Uso
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
)

Parámetros

  • cacheType
    Tipo: WebSvcAdmin.CacheType

    El único valor disponible en Project Server es la constante Database (valor = 0).

  • enable
    Tipo: System.Boolean

    True para habilitar el almacenamiento en caché; false para deshabilitar el almacenamiento en caché.

Vea también

Referencia

clase Admin

Miembros Admin

Espacio de nombres WebSvcAdmin