Site.UpdateClientObjectModelUseRemoteAPIsPermissionSetting - Méthode
Sets whether the client-side object model (CSOM) requests that are made in the context of any site inside the site collection require UseRemoteAPIs permission.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Sub UpdateClientObjectModelUseRemoteAPIsPermissionSetting ( _
requireUseRemoteAPIs As Boolean _
)
'Utilisation
Dim instance As Site
Dim requireUseRemoteAPIs As Boolean
instance.UpdateClientObjectModelUseRemoteAPIsPermissionSetting(requireUseRemoteAPIs)
public void UpdateClientObjectModelUseRemoteAPIsPermissionSetting(
bool requireUseRemoteAPIs
)
Paramètres
requireUseRemoteAPIs
Type : System.BooleanSpecifies whether the client-side object model (CSOM) requests that are made in the context of any site inside the site collection require UseRemoteAPIs permission.