Database.MirroringStatus Property
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.MirroringStatus
A MirroringStatus object value that specifies the status of the database and mirroring session.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Database Mirroring Administration