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.