SharepointListAdapterObject オブジェクトがクエリを実行する Windows SharePoint Services サイトの URL (Uniform Resource Locator) を取得します。
名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)
構文
'宣言
<DispIdAttribute(5)> _
ReadOnly Property SiteUrl As String
'使用
Dim instance As SharepointListAdapter
Dim value As String
value = instance.SiteUrl
[DispIdAttribute(5)]
string SiteUrl { get; }
例
次の例では、SharePoint のリスト "SharePoint list" への既存のデータ接続の SiteUrl プロパティがメッセージ ボックスに表示されます。
SharepointListAdapter SPList = ((SharepointListAdapter)thisXDocument.DataAdapters[“SharePoint list”]);
thisXDocument.UI.Alert(SPList.SiteUrl);
関連項目
参照
SharepointListAdapter インターフェイス
SharepointListAdapter のメンバ
Microsoft.Office.Interop.InfoPath 名前空間