Share via


ServerMirroringRole Enumeration

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

Sintaxis

'Declaración
Public Enumeration ServerMirroringRole
public enum ServerMirroringRole
public enum class ServerMirroringRole
public enum ServerMirroringRole
public enum ServerMirroringRole

Members

Member name Description
All The instance of Microsoft SQL Server is a mirroring partner and a mirroring witness.
None The instance of Microsoft SQL Server is not participating in mirroring.
Partner The instance of Microsoft SQL Server is a mirroring partner.
Witness The instance of Microsoft SQL Server is a mirroring witness.

Notas

Texto actualizado:

The ServerMirroringRole enumeration class is served by the ServerMirroringRole property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Microsoft.SqlServer.Management.Smo Namespace