Свойство SqlStatement
Gets the Transact-SQL statement that caused the statement event.
Пространство имен: Microsoft.SqlServer.Management.Common
Сборка: Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)
Синтаксис
'Декларация
Public ReadOnly Property SqlStatement As String
Get
'Применение
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
Значение свойства
Тип: System. . :: . .String
A String value that specifies the Transact-SQL statement that caused the statement event.
См. также