Share via


RemoteServiceBinding.RemoteService Property

Gets or sets the remote service for which the RemoteServiceBinding object provides security credentials.

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 RemoteServiceBinding
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 for which the RemoteServiceBinding object provides security credentials.