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.