SharepointListAdapterObject オブジェクトがクエリを実行する Windows SharePoint Services サイトの URL (Uniform Resource Locator) を取得します。
このプロパティは、CLS に準拠していません。
名前空間: Microsoft.Office.Interop.InfoPath.SemiTrust
アセンブリ: Microsoft.Office.Interop.InfoPath.SemiTrust (microsoft.office.interop.infopath.semitrust.dll 内)
構文
'宣言
<DispIdAttribute(5)> _
ReadOnly Property SiteUrl As String
'使用
Dim instance As SharepointListAdapter2
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);
関連項目
参照
SharepointListAdapter2 インターフェイス
SharepointListAdapter2 のメンバ
Microsoft.Office.Interop.InfoPath.SemiTrust 名前空間