返回指定的移动 Web 应用程序的简化应用程序路径。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function GetShortApplicationPath ( _
web As SPWeb _
) As String
用法
Dim web As SPWeb
Dim returnValue As String
returnValue = SPMobileUtility.GetShortApplicationPath(web)
public static string GetShortApplicationPath(
SPWeb web
)
参数
web
类型:Microsoft.SharePoint.SPWeb一个表示 Web 应用程序的SPWeb对象。
返回值
类型:System.String
一个字符串,包含应用程序的路径。