Partager via


Propriété SqlStatement

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

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property SqlStatement As String
    Get
'Utilisation
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

Valeur de propriété

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