Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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
MirrorValue = 1. The database is a mirror of the principal database.
NoneValue = 0. The database is not participating in mirroring.
PrincipalValue = 2. The database is the principal database.

Community Additions

© 2015 Microsoft