共用方式為


OpenQueryTableSource.Query 屬性

取得或設定要在連結的伺服器上執行的查詢。

命名空間:  Microsoft.Data.Schema.ScriptDom.Sql
組件:  Microsoft.Data.Schema.ScriptDom.Sql (在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

語法

'宣告
Public Property Query As Literal
    Get
    Set
public Literal Query { get; set; }
public:
property Literal^ Query {
    Literal^ get ();
    void set (Literal^ value);
}
member Query : Literal with get, set
function get Query () : Literal
function set Query (value : Literal)

屬性值

型別:Microsoft.Data.Schema.ScriptDom.Sql.Literal

.NET Framework 安全性

請參閱

參考

OpenQueryTableSource 類別

Microsoft.Data.Schema.ScriptDom.Sql 命名空間