共用方式為


ServiceRoute.MirrorAddress 屬性

Gets or sets the connection string of the remote mirrored Service Broker instance addressed by this route.

命名空間:  Microsoft.SqlServer.Management.Smo.Broker
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MirrorAddress As String 
    Get 
    Set
'用途
Dim instance As ServiceRoute 
Dim value As String 

value = instance.MirrorAddress

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

屬性值

型別:System.String
A String value that specifies the connection string of remote mirrored Service Broker instance addressed by this route.

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

ServiceRoute 類別

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

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)