ServerTraceEventSet 建構函式 (array<ServerTraceEvent )
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 ( _
ParamArray events As ServerTraceEvent() _
)
'用途
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[]
)
參數
- events
型別:array<Microsoft.SqlServer.Management.Smo.ServerTraceEvent[]
An array of ServerTraceEvent objects that specifies several server trace events.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間