Перечисление 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.