Compartir a través de


SqlStatement Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
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 de la propiedad

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