Partager via


Méthode Add

Adds the specified ServiceContract object to the collection

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Add ( _
    serviceContract As ServiceContract _
)
'Utilisation
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
)

Paramètres