Delen via


ServiceRoute.RemoteService Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property RemoteService As String
    Get
    Set
'Usage
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)

Property Value

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