Share via


BrokerServiceCollection.Add Method

Adds a BrokerService object to a BrokerServiceCollection.

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

Syntax

'Declaration
Public Sub Add ( _
    brokerService As BrokerService _
)
'Usage
Dim instance As BrokerServiceCollection 
Dim brokerService As BrokerService

instance.Add(brokerService)
public void Add(
    BrokerService brokerService
)
public:
void Add(
    BrokerService^ brokerService
)
member Add : 
        brokerService:BrokerService -> unit
public function Add(
    brokerService : BrokerService
)

Parameters

Examples

Using Collections

See Also

Reference

BrokerServiceCollection Class

Microsoft.SqlServer.Management.Smo.Broker Namespace