Share via


ServiceQueueEventSet Constructor (array<ServiceQueueEvent )

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    ParamArray events As ServiceQueueEvent() _
)
'Usage
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[]
)

Parameters

Examples

Handling SMO Events

See Also

Reference

ServiceQueueEventSet Class

ServiceQueueEventSet Overload

Microsoft.SqlServer.Management.Smo Namespace