Partager via


Énumération MirroringRole

The MirroringRole enumeration contains values that specify the role the database plays in mirroring.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SqlEnum (dans Microsoft.SqlServer.SqlEnum.dll)

Syntaxe

'Déclaration
Public Enumeration MirroringRole
'Utilisation
Dim instance As MirroringRole
public enum MirroringRole
public enum class MirroringRole
type MirroringRole
public enum MirroringRole

Membres

Nom de membre Description
None Value = 0. The database is not participating in mirroring.
Principal Value = 2. The database is the principal database.
Mirror Value = 1. The database is a mirror of the principal database.