Database.MirroringPartnerInstance Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property MirroringPartnerInstance As String
    Get
'Usage
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

Property Value

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