Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

MirroringRole Enumeration


Applies To: SQL Server 2016 Preview

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)

type MirroringRole

Member nameDescription

Value = 1. The database is a mirror of the principal database.


Value = 0. The database is not participating in mirroring.


Value = 2. The database is the principal database.

Return to top

Community Additions

© 2015 Microsoft