Share via


Propriété MirroringPartnerInstance

Obtient l'instance de SQL Server sur laquelle le serveur partenaire de mise en miroir est configuré.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringPartnerInstance As String
    Get
'Utilisation
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

Valeur de propriété

Type : System. . :: . .String
Valeur String qui spécifie l'instance de SQL Server.