共用方式為


ServiceQueueEventSet 建構函式 (array<ServiceQueueEvent )

Initializes a new instance of the ServiceQueueEventSet class with the specified events.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    ParamArray events As ServiceQueueEvent() _
)
'用途
Dim events As ServiceQueueEvent()

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

參數

範例

處理 SMO 事件

請參閱

參考

ServiceQueueEventSet 類別

ServiceQueueEventSet 多載

Microsoft.SqlServer.Management.Smo 命名空間