DatabaseEventSet 建構函式 (array<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[]
)
參數
- events
型別:array<Microsoft.SqlServer.Management.Smo.DatabaseEvent[]
An array of DatabaseEvent objects that specifies several database events.