Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Initializes a new instance of the ServiceRoute class on the specified instance of Компонент Service Broker and with the specified name.
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub New ( _
serviceBroker As ServiceBroker, _
name As String _
)
'Применение
Dim serviceBroker As ServiceBroker
Dim name As String
Dim instance As New ServiceRoute(serviceBroker, _
name)
public ServiceRoute(
ServiceBroker serviceBroker,
string name
)
public:
ServiceRoute(
ServiceBroker^ serviceBroker,
String^ name
)
new :
serviceBroker:ServiceBroker *
name:string -> ServiceRoute
public function ServiceRoute(
serviceBroker : ServiceBroker,
name : String
)
Параметры
- serviceBroker
Тип: Microsoft.SqlServer.Management.Smo.Broker.ServiceBroker
A ServiceBroker object value that specifies the instance of Компонент Service Broker on which the service route is defined.
- name
Тип: System.String
A String value that specifies the name of the ServiceRoute object.
Примеры
Readme_ServiceBrokerConfiguration
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo.Broker
Другие ресурсы
Разработка (компонент Service Broker)