TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

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
Mirror

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

None

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

Principal

Value = 2. The database is the principal database.

Return to top
Show:
© 2016 Microsoft