共用方式為


MirroringPartnerInstance 屬性

取得用於設定鏡像夥伴的 SQL Server 執行個體。

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringPartnerInstance As String
    Get
'用途
Dim instance As Database
Dim value As String

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

屬性值

型別:System. . :: . .String
指定 SQL Server 執行個體的 String 值。