Share via


ServerInfo.SharePointSiteCollectionUrl property

Gets a String that provides the URL of the SharePoint site collection 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 SharePointSiteCollectionUrl As String
    Get
'Usage
Dim instance As ServerInfo
Dim value As String

value = instance.SharePointSiteCollectionUrl
string SharePointSiteCollectionUrl { get; }

Property value

Type: System.String
The URL of the SharePoint site collection 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