ServerInfo.SharePointServerRootUrl Property
Gets a String that provides the root URL of the SharePoint server where the form is located.
Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)
Syntax
'Declaration
ReadOnly Property SharePointServerRootUrl As String
Get
'Usage
Dim instance As ServerInfo
Dim value As String
value = instance.SharePointServerRootUrl
string SharePointServerRootUrl { get; }
Property Value
Type: System.String
The root URL of the SharePoint server where the form is located.
Remarks
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.