Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the StatementEventArgs class for the specified Transact-SQL statement at the specified time and date.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Sub New ( _
sqlStatement As String, _
timeStamp As DateTime _
)
'Usage
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
)
Parameters
- sqlStatement
Type: System.String
A String value that specifies the Transact-SQL statement that caused the statement event.
- timeStamp
Type: System.DateTime
A DateTime system object value that specifies the time and date of the statement event.