MirroringRole 枚举
The MirroringRole enumeration contains values that specify the role the database plays in mirroring.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SqlEnum(在 Microsoft.SqlServer.SqlEnum.dll 中)
语法
声明
Public Enumeration MirroringRole
用法
Dim instance As MirroringRole
public enum MirroringRole
public enum class MirroringRole
type MirroringRole
public enum MirroringRole
成员
成员名称 | 说明 | |
---|---|---|
None | Value = 0. The database is not participating in mirroring. | |
Principal | Value = 2. The database is the principal database. | |
Mirror | Value = 1. The database is a mirror of the principal database. |