共用方式為


ServiceQueueEventSet 建構 (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[]
)

參數