Export (0) Print
Expand All
Expand Minimize

ServerMirroringRole Enumeration

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

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

public enum ServerMirroringRole
public enum ServerMirroringRole
public enum ServerMirroringRole

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

Updated text:

The ServerMirroringRole enumeration class is served by the ServerMirroringRole property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.


Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Release

History

Changed content:
  • Removed the disclaimer regarding database mirroring from the ServerMirroringRole class.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft