Aracılığıyla paylaş


ServerTraceEventSet Constructor (ServerTraceEventSet)

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 ( _
    eventSet As ServerTraceEventSet _
)
'Kullanım
Dim eventSet As ServerTraceEventSet

Dim instance As New ServerTraceEventSet(eventSet)
public ServerTraceEventSet(
    ServerTraceEventSet eventSet
)
public:
ServerTraceEventSet(
    ServerTraceEventSet^ eventSet
)
new : 
        eventSet:ServerTraceEventSet -> ServerTraceEventSet
public function ServerTraceEventSet(
    eventSet : ServerTraceEventSet
)

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