共用方式為


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[]
)

參數