ServerInfo.SharePointServerRootUrl 属性
获取 String,它提供表单所在的 SharePoint 服务器的根 URL。
命名空间: Microsoft.Office.Interop.InfoPath.SemiTrust
程序集: Microsoft.Office.Interop.InfoPath.SemiTrust(位于 Microsoft.Office.Interop.InfoPath.SemiTrust.dll 中)
语法
声明
ReadOnly Property SharePointServerRootUrl As String
Get
用法
Dim instance As ServerInfo
Dim value As String
value = instance.SharePointServerRootUrl
string SharePointServerRootUrl { get; }
属性值
类型:System.String
表单所在的 SharePoint 服务器的根 URL。
备注
此成员只能由与当前打开的表单在相同域中运行的表单访问,或者由已授予跨域权限的表单访问。