ViewStatementBody.SelectStatement Property

Gets or sets the query expression that represents the select, with optional common table expression and xml namespaces clauses.

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

Syntax

'Declaration
Public Property SelectStatement As SelectStatement 
    Get 
    Set
'Usage
Dim instance As ViewStatementBody 
Dim value As SelectStatement 

value = instance.SelectStatement

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

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatement
The query expression that represents the select.

See Also

Reference

ViewStatementBody Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace