Compartir a través de


Database.MirroringRoleSequence Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringRoleSequence As Integer 
    Get
'Uso
Dim instance As Database 
Dim value As Integer 

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

Valor de la propiedad

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

Ejemplos

Trabajar con objetos de bases de datos

Vea también

Referencia

Database Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Administración de la creación de reflejo de la base de datos

Implementar extremos

Crear, modificar y eliminar bases de datos

CREATE DATABASE (Transact-SQL)