ServiceContractMappingCollection.Add 方法
Adds a ServiceContractMapping object to the collection.
命名空間: Microsoft.SqlServer.Management.Smo.Broker
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
serviceContractMapping As ServiceContractMapping _
)
'用途
Dim instance As ServiceContractMappingCollection
Dim serviceContractMapping As ServiceContractMapping
instance.Add(serviceContractMapping)
public void Add(
ServiceContractMapping serviceContractMapping
)
public:
void Add(
ServiceContractMapping^ serviceContractMapping
)
member Add :
serviceContractMapping:ServiceContractMapping -> unit
public function Add(
serviceContractMapping : ServiceContractMapping
)
參數
- serviceContractMapping
型別:Microsoft.SqlServer.Management.Smo.Broker.ServiceContractMapping
A ServiceContractMapping object that specifies the object that is to be added to the collection.
範例
請參閱
參考
ServiceContractMappingCollection 類別
Microsoft.SqlServer.Management.Smo.Broker 命名空間