Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ServerMirroringRole Enumeration
Collapse the table of content
Expand the table of content

ServerMirroringRole Enumeration

The ServerMirroringRole enumeration contains values that are used to specify the role of the instance of SQL Server when participating in mirroring.

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

public enum ServerMirroringRole

Member nameDescription
NoneThe instance of SQL Server is not participating in mirroring.
PartnerThe instance of SQL Server is a mirroring partner.
WitnessThe instance of SQL Server is a mirroring witness.
AllThe instance SQL Server is a mirroring partner and a mirroring witness.

The ServerMirroringRole enumeration class is served by the ServerMirroringRole property.

Community Additions

ADD
Show:
© 2015 Microsoft