クエリ操作が現在のフォームにのみ適用されるかどうかを取得します。
このプロパティは、CLS に準拠していません。
名前空間: Microsoft.Office.Interop.InfoPath.SemiTrust
アセンブリ: Microsoft.Office.Interop.InfoPath.SemiTrust (microsoft.office.interop.infopath.semitrust.dll 内)
構文
'宣言
<DispIdAttribute(11)> _
ReadOnly Property QueryThisFormOnly As Boolean
'使用
Dim instance As SharepointListAdapter2
Dim value As Boolean
value = instance.QueryThisFormOnly
[DispIdAttribute(11)]
bool QueryThisFormOnly { get; }
プロパティ値
クエリが現在のフォームに対してのみ適用される場合は true、それ以外の場合は false。
コメント
フォームが SharePoint ワークフローの一部である場合、クエリ操作は現在のフォームに対してのみ適用されます。このプロパティの値は、フォーム テンプレートのフォーム定義ファイル (.xsf) の xsf:extensions/xsf:extension/xsf2:solutionDefinition/xsf2:solutionDefinition/xsf2:dataConnections/xsf2:sharePointListAdapterExt/ 要素の queryThisFormOnly 属性の値に対応しています。
QueryThisFormOnly プロパティは、Microsoft Office InfoPath 2007 の新しい機能なので、アクセスするには、宣言して SharepointListAdapter2 型にキャストする必要があります。詳細については、「[方法] InfoPath 2003 と互換性のない Microsoft.Office.Interop.InfoPath.SemiTrust のメンバを使用する方法」を参照してください。
![]() |
---|
このメンバは、現在開いているフォームと同じドメイン内で実行されているフォーム、またはドメインを越えたアクセス許可を付与されているフォームだけがアクセスできます。 |
関連項目
参照
SharepointListAdapter2 インターフェイス
SharepointListAdapter2 のメンバ
Microsoft.Office.Interop.InfoPath.SemiTrust 名前空間