Partilhar via


Propriedade do RDL SqlStatement

Gets the Transact-SQL statement that caused the statement event.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public ReadOnly Property SqlStatement As String
    Get
'Uso
Dim instance As StatementEventArgs
Dim value As String

value = instance.SqlStatement
public string SqlStatement { get; }
public:
property String^ SqlStatement {
    String^ get ();
}
member SqlStatement : string
function get SqlStatement () : String

Valor da propriedade

Tipo: System. . :: . .String
A String value that specifies the Transact-SQL statement that caused the statement event.