다음을 통해 공유


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.