Aracılığıyla paylaş


ServerTraceEventSet Constructor (array<ServerTraceEvent )

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

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

Syntax

'Bildirim
Public Sub New ( _
    ParamArray events As ServerTraceEvent() _
)
'Kullanım
Dim events As ServerTraceEvent()

Dim instance As New ServerTraceEventSet(events)
public ServerTraceEventSet(
    params ServerTraceEvent[] events
)
public:
ServerTraceEventSet(
    ... array<ServerTraceEvent^>^ events
)
new : 
        events:ServerTraceEvent[] -> ServerTraceEventSet
public function ServerTraceEventSet(
    ... events : ServerTraceEvent[]
)

Parameters

Remarks

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

Examples

Handling SMO Events

See Also

Reference

ServerTraceEventSet Class

ServerTraceEventSet Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Tracing and Replaying Events

SQL Server Event Class Reference