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 的硬件和软件要求。