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.