Share via


Database.MirroringRoleSequence Property

Gets the role sequence number for primary/backup roles played by the mirroring partners.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property MirroringRoleSequence As Integer
    Get
'Usage
Dim instance As Database
Dim value As Integer

value = instance.MirroringRoleSequence
[SfcPropertyAttribute]
public int MirroringRoleSequence { get; }
[SfcPropertyAttribute]
public:
property int MirroringRoleSequence {
    int get ();
}
[<SfcPropertyAttribute>]
member MirroringRoleSequence : int
function get MirroringRoleSequence () : int

Property Value

Type: System.Int32
An Int32 value that specifies the sequence number of the primary/backup roles played by the mirroring partners.