MirroringRole Enumeration
Collapse the table of content
Expand the table of content

MirroringRole Enumeration

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

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

public enum MirroringRole

Member nameDescription
NoneValue = 0. The database is not participating in mirroring.
PrincipalValue = 2. The database is the principal database.
MirrorValue = 1. The database is a mirror of the principal database.

Community Additions

© 2015 Microsoft