SharepointListAdapter.SiteUrl 属性

定义

获取对象将查询的Windows SharePoint Services网站的SharepointListAdapterObject统一资源定位符 (URL) 。

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

属性值

示例

在以下示例中,指向 SharePoint 列表的现有数据连接的 SiteUrl 属性“SharePoint 列表”显示在消息框中:

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

注解

重要提示:此成员只能由与当前打开的窗体在同一域中运行的表单访问,或者由已授予跨域权限的表单访问。

适用于