ServerTraceEventSet Class
The ServerTraceEventSet object represents a set server trace events.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public NotInheritable Class ServerTraceEventSet
Inherits EventSetBase
public sealed class ServerTraceEventSet : EventSetBase
public ref class ServerTraceEventSet sealed : public EventSetBase
public final class ServerTraceEventSet extends EventSetBase
public final class ServerTraceEventSet extends EventSetBase
Notes
Texte mis à jour :
The ServerTraceEventSet object contains a property for each event to which the server trace responds. The events fall into categories, which are described in Classes d'événements SQL Server. The ServerTraceEventSet class is used to define a set of events that can be traced by SQL Server Profiler or the SMO Trace objects.
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.EventSetBase
Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
Exemple
How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET
Sécurité des threads
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
ServerTraceEventSet Members
Microsoft.SqlServer.Management.Smo Namespace
Autres ressources
Tracing and Replaying Events
Handling SMO Events
Analyse des événements
Classes d'événements SQL Server
sp_trace_setevent (Transact-SQL)