Partager via


Propriété BrokerInstance

Gets or sets the Service Broker instance that hosts the remote service.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property BrokerInstance As String
    Get
    Set
'Utilisation
Dim instance As ServiceRoute
Dim value As String

value = instance.BrokerInstance

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

Valeur de propriété

Type : System. . :: . .String
A String value that specifies the Service Broker instance that hosts the remote service.