This topic has not yet been rated - Rate this topic

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 name Description
All The instance of Microsoft SQL Server is a mirroring partner and a mirroring witness.
None The instance of Microsoft SQL Server is not participating in mirroring.
Partner The instance of Microsoft SQL Server is a mirroring partner.
Witness The 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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ