Méthode ServiceContractCollection.Add
Adds a ServiceContract 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
- serviceContract
Type : Microsoft.SqlServer.Management.Smo.Broker.ServiceContract
The ServiceContract to add to the collection.
Voir aussi
Référence
ServiceContractCollection Classe
Espace de noms Microsoft.SqlServer.Management.Smo.Broker