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