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
)
參數
- eventSet
型別:Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
A ServerTraceEventSet that specifies a set of data definition language (DDL) server events.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間