共用方式為


MirroringPartnerInstance 屬性

Gets the instance of SQL Server on which the mirroring partner is configured.

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

語法

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

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

屬性值

型別:System. . :: . .String
A String value that specifies the instance of SQL Server.