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
- events
Type: array<Microsoft.SqlServer.Management.Smo.ServerTraceEvent[]
An array of ServerTraceEvent objects that specifies several server trace events.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace