Compartilhar via


Método BrokerServiceCollection.Add

Adds a BrokerService object to a BrokerServiceCollection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    brokerService As BrokerService _
)
'Uso
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
)

Parâmetros

Exemplos

Usando coleções

Consulte também

Referência

BrokerServiceCollection Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker