Web.GetWebUrlFromPageUrl 方法

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

语法

声明
Public Shared Function GetWebUrlFromPageUrl ( _
    context As ClientRuntimeContext, _
    pageFullUrl As String _
) As ClientResult(Of String)
用法
Dim context As ClientRuntimeContext
Dim pageFullUrl As String
Dim returnValue As ClientResult(Of String)

returnValue = Web.GetWebUrlFromPageUrl(context, _
    pageFullUrl)
public static ClientResult<string> GetWebUrlFromPageUrl(
    ClientRuntimeContext context,
    string pageFullUrl
)

参数

返回值

类型:Microsoft.SharePoint.Client.ClientResult<String>

另请参阅

引用

Web 类

Web 成员

Microsoft.SharePoint.Client 命名空间