Condividi tramite


Proprietà OpenQueryTableReference.Query

Gets or sets the query to execute on the linked server.

Spazio dei nomi  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintassi

'Dichiarazione
Public Property Query As StringLiteral 
    Get 
    Set
'Utilizzo
Dim instance As OpenQueryTableReference 
Dim value As StringLiteral 

value = instance.Query

instance.Query = value
public StringLiteral Query { get; set; }
public:
property StringLiteral^ Query {
    StringLiteral^ get ();
    void set (StringLiteral^ value);
}
member Query : StringLiteral with get, set
function get Query () : StringLiteral 
function set Query (value : StringLiteral)

Valore proprietà

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.StringLiteral
The query to execute on the linked server.

Vedere anche

Riferimento

OpenQueryTableReference Classe

Spazio dei nomi Microsoft.SqlServer.TransactSql.ScriptDom