共用方式為


ServerMirroringRole 列舉

The ServerMirroringRole enumeration contains values that are used to specify the role of the instance of SQL Server when participating in mirroring.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Enumeration ServerMirroringRole
'用途
Dim instance As ServerMirroringRole
public enum ServerMirroringRole
public enum class ServerMirroringRole
type ServerMirroringRole
public enum ServerMirroringRole

成員

成員名稱 說明
All The instance SQL Server is a mirroring partner and a mirroring witness.
None The instance of SQL Server is not participating in mirroring.
Partner The instance of SQL Server is a mirroring partner.
Witness The instance of SQL Server is a mirroring witness.

備註

The ServerMirroringRole enumeration class is served by the ServerMirroringRole property.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間