Share via


IView.QueryText Property

Gets 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
ReadOnly Property QueryText As String
    Get
'Usage
Dim instance As IView
Dim value As String

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

Property Value

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