Поделиться через


Конструктор StatementEventArgs

Initializes a new instance of the StatementEventArgs class for the specified Transact-SQL statement at the specified time and date.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Sub New ( _
    sqlStatement As String, _
    timeStamp As DateTime _
)
'Применение
Dim sqlStatement As String
Dim timeStamp As DateTime

Dim instance As New StatementEventArgs(sqlStatement, _
    timeStamp)
public StatementEventArgs(
    string sqlStatement,
    DateTime timeStamp
)
public:
StatementEventArgs(
    String^ sqlStatement, 
    DateTime timeStamp
)
new : 
        sqlStatement:string * 
        timeStamp:DateTime -> StatementEventArgs
public function StatementEventArgs(
    sqlStatement : String, 
    timeStamp : DateTime
)

Параметры