次の方法で共有


Query.QueryText プロパティ (Microsoft.Office.Server.Search.Query)

検索クエリのテキストを取得または設定します。

名前空間: Microsoft.Office.Server.Search.Query
アセンブリ: Microsoft.Office.Server.Search (microsoft.office.server.search.dll 内)

構文

'宣言
Public Property QueryText As String
'使用
Dim instance As Query
Dim value As String

value = instance.QueryText

instance.QueryText = value
public string QueryText { get; set; }

プロパティ値

クエリ テキストを含む文字列。

備考

FullTextSqlQuery クラスの QueryText プロパティを設定する場合は、エンタープライズ検索 の エンタープライズ検索の SQL 構文のリファレンスを使用する必要があります。KeywordQuery クラスの場合は、エンタープライズ検索 のエンタープライズ検索の URL 構文の参照を使用します。

関連項目

参照

Query クラス
Query メンバ
Microsoft.Office.Server.Search.Query 名前空間