Метод Add
Adds the specified ServiceContract object to the collection
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub Add ( _
serviceContract As ServiceContract _
)
'Применение
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
)
Параметры
- serviceContract
Тип: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceContract
The ServiceContract object to add to the collection.