ServerTraceEventSet 建構函式 (ServerTraceEvent)
Initializes a new instance of the ServerTraceEventSet class with a specified event.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
anEvent As ServerTraceEvent _
)
'用途
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
)
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo.ServerTraceEvent
A ServerTraceEvent object that specifies a server trace event.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間