ServiceRoute.RemoteService 属性

Gets or sets the remote service addressed by the service route.

命名空间:  Microsoft.SqlServer.Management.Smo.Broker
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property RemoteService As String 
    Get 
    Set
用法
Dim instance As ServiceRoute 
Dim value As String 

value = instance.RemoteService

instance.RemoteService = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string RemoteService { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ RemoteService {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member RemoteService : string with get, set
function get RemoteService () : String 
function set RemoteService (value : String)

属性值

类型:System.String
A String value that specifies the remote service addressed by the service route.

示例

Readme_ServiceBrokerConfiguration

请参阅

参考

ServiceRoute 类

Microsoft.SqlServer.Management.Smo.Broker 命名空间

其他资源

开发 (Service Broker)

管理 Service Broker

概述 (Service Broker)