Share via


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.