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 ( _
    ParamArray events As DatabaseEvent() _
)
用法
Dim events As DatabaseEvent()

Dim instance As New DatabaseEventSet(events)
public DatabaseEventSet(
    params DatabaseEvent[] events
)
public:
DatabaseEventSet(
    ... array<DatabaseEvent^>^ events
)
new : 
        events:DatabaseEvent[] -> DatabaseEventSet
public function DatabaseEventSet(
    ... events : DatabaseEvent[]
)

参数