Share via


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.

See also

Reference

ServerInfo interface

ServerInfo members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace