Sdílet prostřednictvím


Database.MirroringFailoverLogSequenceNumber Property

Gets the log sequence number at last failover.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringFailoverLogSequenceNumber As Decimal 
    Get
'Usage
Dim instance As Database 
Dim value As Decimal 

value = instance.MirroringFailoverLogSequenceNumber
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public decimal MirroringFailoverLogSequenceNumber { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property Decimal MirroringFailoverLogSequenceNumber {
    Decimal get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MirroringFailoverLogSequenceNumber : decimal
function get MirroringFailoverLogSequenceNumber () : decimal

Property Value

Type: System.Decimal
A Decimal system object value that specifies the log sequence number at the last failover.

Examples

Working with Database Objects

See Also

Reference

Database Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Database Mirroring Administration

Implementing Endpoints

Creating, Altering, and Removing Databases

CREATE DATABASE (Transact-SQL)