Partilhar via


Propriedade do RDL OpenQueryTableReference.Query

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

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxe

'Declaração
Public Property Query As StringLiteral 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

OpenQueryTableReference Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom