ServerTraceEventSet 构造函数 (ServerTraceEventSet)

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    eventSet As ServerTraceEventSet _
)
用法
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
)

参数

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。