SPWeb.BypassUseRemoteApis 方法

Accesses the website by bypassing the SOAP, WebDAV and Microsoft Office SharePoint Designer 2007 interfaces.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub BypassUseRemoteApis
用法
Dim instance As SPWeb

instance.BypassUseRemoteApis()
public void BypassUseRemoteApis()

备注

SharePoint Foundation requires that the current user has the UseRemoteAPIs permission to use SOAP, WebDAV, and Microsoft Office SharePoint Designer 2007 interfaces. When you use the BypassUseRemoteApis method, the UseRemoteAPIs permission check for the current Http request is skipped.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间