ObjectEventSet 建構函式 (array<ObjectEvent )
Initializes a new instance of the ObjectEventSet class with the specified set of events.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
ParamArray events As ObjectEvent() _
)
'用途
Dim events As ObjectEvent()
Dim instance As New ObjectEventSet(events)
public ObjectEventSet(
params ObjectEvent[] events
)
public:
ObjectEventSet(
... array<ObjectEvent^>^ events
)
new :
events:ObjectEvent[] -> ObjectEventSet
public function ObjectEventSet(
... events : ObjectEvent[]
)
參數
- events
型別:array<Microsoft.SqlServer.Management.Smo.ObjectEvent[]
An array of ObjectEvent object that specifies several object events.