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
- brokerService
Type: Microsoft.SqlServer.Management.Smo.Broker.BrokerService
A BrokerService object that specifies the Broker Service to add to the collection.