Classe StatementEventArgs
The StatementEventArgs class represents the arguments used when a statement event is raised.
Gerarchia di ereditarietà
Object
EventArgs
Microsoft.SqlServer.Management.Common.StatementEventArgs
Spazio dei nomi Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Sintassi
'Dichiarazione
Public Class StatementEventArgs _
Inherits EventArgs
'Utilizzo
Dim instance As StatementEventArgs
public class StatementEventArgs : EventArgs
public ref class StatementEventArgs : public EventArgs
type StatementEventArgs =
class
inherit EventArgs
end
public class StatementEventArgs extends EventArgs
Nel tipo StatementEventArgs sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
StatementEventArgs | Initializes a new instance of the StatementEventArgs class for the specified Transact-SQL statement at the specified time and date. |
Torna all'inizio
Proprietà
Nome | Descrizione | |
---|---|---|
SqlStatement | Gets the Transact-SQL statement that caused the statement event. | |
TimeStamp | Gets the time and date when the statement event occurred. |
Torna all'inizio
Metodi
Nome | Descrizione | |
---|---|---|
Equals | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetHashCode | Ereditato da Object. | |
GetType | Ereditato da Object. | |
MemberwiseClone | Ereditato da Object. | |
ToString | Returns a String value that represents the StatementEventArgs object. Esegue l'override di ObjectToString. |
Torna all'inizio
Osservazioni
Thread Safety
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Esempi
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Common