Database.MirroringStatus-Eigenschaft
Gets the status of the database and the database mirroring session.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringStatus As MirroringStatus
Get
'Usage
Dim instance As Database
Dim value As MirroringStatus
value = instance.MirroringStatus
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public MirroringStatus MirroringStatus { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property MirroringStatus MirroringStatus {
MirroringStatus get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MirroringStatus : MirroringStatus
function get MirroringStatus () : MirroringStatus
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Smo.MirroringStatus
A MirroringStatus object value that specifies the status of the database and mirroring session.
Beispiele
Arbeiten mit Datenbankobjekten
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace
Andere Ressourcen
Verwaltung der Datenbankspiegelung