ServiceContractCollection.Add 方法
Adds a ServiceContract 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 to add to the collection.
請參閱
參考
Microsoft.SqlServer.Management.Smo.Broker 命名空間