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.