Aracılığıyla paylaş


ServerMirroringRole Enumeration

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

Syntax

'Bildirim
Public Enumeration ServerMirroringRole
public enum ServerMirroringRole
public enum class ServerMirroringRole
public enum ServerMirroringRole
public enum ServerMirroringRole

Members

Member name Description
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.

Remarks

The ServerMirroringRole enumeration class is served by the ServerMirroringRole property.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.