Admin.IsCachingEnabled - Méthode
Réservé à une utilisation interne. Obtient l'état actuel de la mise en cache dans la couche intermédiaire.
Espace de noms : WebSvcAdmin
Assembly : ProjectServerServices (dans ProjectServerServices.dll)
Syntaxe
'Déclaration
<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
'Utilisation
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
)
Paramètres
cacheType
Type : WebSvcAdmin.CacheTypeLa seule valeur disponible dans Project Server 2010 est la constante Database (valeur = 0).
Valeur renvoyée
Type : System.Boolean