Share via


ServiceQueueCollection.Add Method

Adds a ServiceQueue object to the collection.

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

Syntax

'Declaration
Public Sub Add ( _
    serviceQueue As ServiceQueue _
)
'Usage
Dim instance As ServiceQueueCollection 
Dim serviceQueue As ServiceQueue

instance.Add(serviceQueue)
public void Add(
    ServiceQueue serviceQueue
)
public:
void Add(
    ServiceQueue^ serviceQueue
)
member Add : 
        serviceQueue:ServiceQueue -> unit
public function Add(
    serviceQueue : ServiceQueue
)

Parameters

See Also

Reference

ServiceQueueCollection Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

Using Collections