ServerTraceEventSet Constructor (ServerTraceEvent)
Initializes a new instance of the ServerTraceEventSet class with a specified event.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
anEvent As ServerTraceEvent _
)
'Usage
Dim anEvent As ServerTraceEvent
Dim instance As New ServerTraceEventSet(anEvent)
public ServerTraceEventSet(
ServerTraceEvent anEvent
)
public:
ServerTraceEventSet(
ServerTraceEvent^ anEvent
)
new :
anEvent:ServerTraceEvent -> ServerTraceEventSet
public function ServerTraceEventSet(
anEvent : ServerTraceEvent
)
Parameters
- anEvent
Type: Microsoft.SqlServer.Management.Smo.ServerTraceEvent
A ServerTraceEvent object that specifies a server trace event.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.