The MirroringRole enumeration contains values that specify the role the database plays in mirroring.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
語法
'宣告
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. |
備註
更新的文字:
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。