Konstruktor StatementEventArgs
Inicjuje nowe wystąpienie StatementEventArgs klasy dla określonego Transact-SQL instrukcja na określony czas i data.
Przestrzeń nazw: Microsoft.SqlServer.Management.Common
Zestaw: Microsoft.SqlServer.ConnectionInfo (w Microsoft.SqlServer.ConnectionInfo.dll)
Składnia
'Deklaracja
Public Sub New ( _
sqlStatement As String, _
timeStamp As DateTime _
)
'Użycie
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
)
Parametry
- sqlStatement
Typ: System.String
A String wartość określająca Transact-SQL instrukcji, który spowodował zdarzenie instrukcja.
- timeStamp
Typ: System.DateTime
A DateTime wartość obiektu systemu, który określa czas i data zdarzenie instrukcja.
Zobacz także