ServiceContractCollection.Add Método
Adds a ServiceContract to the collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Broker
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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
- serviceContract
Tipo: Microsoft.SqlServer.Management.Smo.Broker.ServiceContract
The ServiceContract to add to the collection.
Vea también
Referencia
ServiceContractCollection Clase
Espacio de nombres Microsoft.SqlServer.Management.Smo.Broker