Freigeben über


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)

Syntax

'Declaration
Public Enumeration MirroringRole
public enum MirroringRole
public enum class MirroringRole
public enum MirroringRole
public enum MirroringRole

Members

Member name Description
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.

Hinweise

Aktualisierter Text:

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

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo Namespace