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 命名空间