Share via


SharepointListAdapter.SiteUrl Property

InfoPath Developer Reference

A read-only property returning the Uniform Resource Locator (URL) of the Windows SharePoint Services 3.0 site that the SharepointListAdapter object will query. Read-only

Version Information
 Version Added:  InfoPath 2003

Syntax

expression.SiteUrl

expression   An expression that returns a SharepointListAdapter object.

Return Value
String

Remarks

Security Level 2: 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.

Example

The following example shows how to use the SiteUrl property of a SharePointListAdapter object to store the URL location in a local variable:

JScript
  var strSiteURL = XDocument.DataAdapters["Announcements"].SiteUrl

See Also