Edit

Share via


SharepointListAdapter2.SiteUrl Property

Definition

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

public:
 property System::String ^ SiteUrl { System::String ^ get(); };
public string SiteUrl { get; }
member this.SiteUrl : string
Public ReadOnly Property SiteUrl As String

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