ServerTraceEvent Class

The ServerTraceEvent object represents the SQL Server server trace events that can be included in a server trace event set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public NotInheritable Class ServerTraceEvent
'Usage
Dim instance As ServerTraceEvent
public sealed class ServerTraceEvent
public ref class ServerTraceEvent sealed
[<SealedAttribute>]
type ServerTraceEvent =  class end
public final class ServerTraceEvent

Remarks

The ServerTraceEvent object contains a property for each trace event to which the instance of SQL Server can respond. The actual set of trace events is specified using the ServerTraceEventSet object.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.ServerTraceEvent

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.