SharepointListAdapter2.SiteUrl Property

Definition

Gets the Uniform Resource Locator (URL) of the Windows SharePoint Services site that the SharepointListAdapterObject object will query.

C#
public string SiteUrl { get; }

Property Value

The Uniform Resource Locator (URL) of the Windows SharePoint Services site that the SharepointListAdapterObject object will query.

Implements

Examples

In the following example, the SiteUrl property of an existing Data Connection to a SharePoint list, "SharePoint list", is displayed in a message box:

SharepointListAdapter SPList = ((SharepointListAdapter)thisXDocument.DataAdapters[“SharePoint list”]);
thisXDocument.UI.Alert(SPList.<span class="label">SiteUrl</span>);

Applies to

Product Versions
InfoPath form templates Latest