ServiceContractCollection.Add Method
Adds the specified ServiceContract object to the collection
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
serviceContract As ServiceContract _
)
'Usage
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
)
Parameters
- serviceContract
Type: Microsoft.SqlServer.Management.Smo.Broker.ServiceContract
The ServiceContract object to add to the collection.