MirroringRole Enumeration
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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
public enum MirroringRole
public enum MirroringRole

Member nameDescription
MirrorValue = 1. The database is a mirror of the principal database.
NoneValue = 0. The database is not participating in mirroring.
PrincipalValue = 2. The database is the principal database.

Updated text:

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 disclaimer regarding database mirroring support

Show:
© 2016 Microsoft