Site.UpdateClientObjectModelUseRemoteAPIsPermissionSetting 方法
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.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Sub UpdateClientObjectModelUseRemoteAPIsPermissionSetting ( _
requireUseRemoteAPIs As Boolean _
)
用法
Dim instance As Site
Dim requireUseRemoteAPIs As Boolean
instance.UpdateClientObjectModelUseRemoteAPIsPermissionSetting(requireUseRemoteAPIs)
public void UpdateClientObjectModelUseRemoteAPIsPermissionSetting(
bool requireUseRemoteAPIs
)
参数
requireUseRemoteAPIs
类型: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.