ServerStub.CheckBlockedGetProperty - Méthode
Checks whether the property is blocked by an administrator.
Espace de noms : Microsoft.SharePoint.Client
Assembly : Microsoft.SharePoint.Client.ServerRuntime (dans Microsoft.SharePoint.Client.ServerRuntime.dll)
Syntaxe
'Déclaration
Protected Friend Sub CheckBlockedGetProperty ( _
propName As String, _
proxyContext As ProxyContext _
)
'Utilisation
Dim propName As String
Dim proxyContext As ProxyContext
Me.CheckBlockedGetProperty(propName, _
proxyContext)
protected internal void CheckBlockedGetProperty(
string propName,
ProxyContext proxyContext
)
Paramètres
propName
Type : System.StringThe name of the property to check.
proxyContext
Type : Microsoft.SharePoint.Client.ProxyContextContains information about the general state of a client request and response operation.
Exceptions
Exception | Condition |
---|---|
ApiBlockedException | Indicates that the property is blocked by an administrator. |
Remarques
If the property is blocked, CheckBlockedGetProperty(String, ProxyContext) throws an ApiBlockedException exception.