Compartilhar via


Método Add

Adds the specified ServiceContract object to the collection

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

Sintaxe

'Declaração
Public Sub Add ( _
    serviceContract As ServiceContract _
)
'Uso
Dim instance As ServiceContractCollection
Dim serviceContract As ServiceContract

instance.Add(serviceContract)
public void Add(
    ServiceContract serviceContract
)
public:
void Add(
    ServiceContract^ serviceContract
)
member Add : 
        serviceContract:ServiceContract -> unit 
public function Add(
    serviceContract : ServiceContract
)

Parâmetros