共用方式為


Add 方法

命名空間:  Microsoft.SqlServer.Management.Smo.Broker
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    brokerService As BrokerService _
)
'用途
Dim instance As BrokerServiceCollection
Dim brokerService As BrokerService

instance.Add(brokerService)
public void Add(
    BrokerService brokerService
)
public:
void Add(
    BrokerService^ brokerService
)
member Add : 
        brokerService:BrokerService -> unit 
public function Add(
    brokerService : BrokerService
)