ServerTraceEventSet ServerTraceEventSet ServerTraceEventSet Constructors

Definition

Overloads

ServerTraceEventSet() ServerTraceEventSet() ServerTraceEventSet()

Initializes a new instance of the ServerTraceEventSet class.

ServerTraceEventSet(ServerTraceEvent) ServerTraceEventSet(ServerTraceEvent) ServerTraceEventSet(ServerTraceEvent)

Initializes a new instance of the ServerTraceEventSet class with a specified event.

ServerTraceEventSet(ServerTraceEvent[]) ServerTraceEventSet(ServerTraceEvent[]) ServerTraceEventSet(ServerTraceEvent[])

Initializes a new instance of the ServerTraceEventSet class with the specified set of events.

ServerTraceEventSet(ServerTraceEventSet) ServerTraceEventSet(ServerTraceEventSet) ServerTraceEventSet(ServerTraceEventSet)

Initializes a new instance of the ServerTraceEventSet class with the specified set of events.

Remarks

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

ServerTraceEventSet() ServerTraceEventSet() ServerTraceEventSet()

Initializes a new instance of the ServerTraceEventSet class.

public:
 ServerTraceEventSet();
public ServerTraceEventSet ();
Public Sub New ()

Examples

Handling SMO Events

Remarks

The default constructor initializes any fields to their default values.

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

ServerTraceEventSet(ServerTraceEvent) ServerTraceEventSet(ServerTraceEvent) ServerTraceEventSet(ServerTraceEvent)

Initializes a new instance of the ServerTraceEventSet class with a specified event.

public:
 ServerTraceEventSet(Microsoft::SqlServer::Management::Smo::ServerTraceEvent ^ anEvent);
public ServerTraceEventSet (Microsoft.SqlServer.Management.Smo.ServerTraceEvent anEvent);
Public Sub New (anEvent As ServerTraceEvent)
Parameters
anEvent
ServerTraceEvent ServerTraceEvent ServerTraceEvent

A ServerTraceEvent object that specifies a server trace event.

Examples

Handling SMO Events

Remarks

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

ServerTraceEventSet(ServerTraceEvent[]) ServerTraceEventSet(ServerTraceEvent[]) ServerTraceEventSet(ServerTraceEvent[])

Initializes a new instance of the ServerTraceEventSet class with the specified set of events.

public:
 ServerTraceEventSet(... cli::array <Microsoft::SqlServer::Management::Smo::ServerTraceEvent ^> ^ events);
public ServerTraceEventSet (params Microsoft.SqlServer.Management.Smo.ServerTraceEvent[] events);
Public Sub New (ParamArray events As ServerTraceEvent())
Parameters
events
ServerTraceEvent[]

An array of ServerTraceEvent objects that specifies several server trace events.

Examples

Handling SMO Events

Remarks

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

ServerTraceEventSet(ServerTraceEventSet) ServerTraceEventSet(ServerTraceEventSet) ServerTraceEventSet(ServerTraceEventSet)

Initializes a new instance of the ServerTraceEventSet class with the specified set of events.

public:
 ServerTraceEventSet(Microsoft::SqlServer::Management::Smo::ServerTraceEventSet ^ eventSet);
public ServerTraceEventSet (Microsoft.SqlServer.Management.Smo.ServerTraceEventSet eventSet);
Public Sub New (eventSet As ServerTraceEventSet)
Parameters
eventSet
ServerTraceEventSet ServerTraceEventSet ServerTraceEventSet

A ServerTraceEventSet that specifies a set of data definition language (DDL) server events.

Examples

Handling SMO Events

Remarks

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

Applies to