Delen via


OpenQueryTableReference.Query Property

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

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

Syntax

'Declaration
Public Property Query As StringLiteral 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

OpenQueryTableReference Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace