ServiceRouteCollection.Add Method
Adds a ServiceRoute to the collection.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
serviceRoute As ServiceRoute _
)
'Usage
Dim instance As ServiceRouteCollection
Dim serviceRoute As ServiceRoute
instance.Add(serviceRoute)
public void Add(
ServiceRoute serviceRoute
)
public:
void Add(
ServiceRoute^ serviceRoute
)
member Add :
serviceRoute:ServiceRoute -> unit
public function Add(
serviceRoute : ServiceRoute
)
Parameters
- serviceRoute
Type: Microsoft.SqlServer.Management.Smo.Broker.ServiceRoute
The ServiceRoute to add to the collection.