DatabaseEventSet 构造函数 (DatabaseEvent)
Initializes a new instance of the DatabaseEventSet class with a specified set of events.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
anEvent As DatabaseEvent _
)
用法
Dim anEvent As DatabaseEvent
Dim instance As New DatabaseEventSet(anEvent)
public DatabaseEventSet(
DatabaseEvent anEvent
)
public:
DatabaseEventSet(
DatabaseEvent^ anEvent
)
new :
anEvent:DatabaseEvent -> DatabaseEventSet
public function DatabaseEventSet(
anEvent : DatabaseEvent
)
参数
- anEvent
类型:Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies a database event.