次の方法で共有


ServiceContractCollection.Add メソッド

ServiceContract をコレクションに追加します。

名前空間:  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
)

パラメーター

関連項目

参照

ServiceContractCollection クラス

Microsoft.SqlServer.Management.Smo.Broker 名前空間

その他の技術情報

コレクションの使用