Share via


IMutableView.QueryText Property

Gets or sets the Transact-SQL string that defines the view query.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Property QueryText As String
    Get
    Set
'Usage
Dim instance As IMutableView
Dim value As String

value = instance.QueryText

instance.QueryText = value
string QueryText { get; set; }
property String^ QueryText {
    String^ get ();
    void set (String^ value);
}
abstract QueryText : string with get, set
function get QueryText () : String
function set QueryText (value : String)

Property Value

Type: System.String
The Transact-SQL string that defines the view query.

Implements

IView.QueryText