Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
The MirroringOption enumeration contains values that specify the mirroring options for a database.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Syntaxe
'Déclaration
Public Enumeration MirroringOption
'Utilisation
Dim instance As MirroringOption
public enum MirroringOption
public enum class MirroringOption
type MirroringOption
public enum MirroringOption
Membres
| Nom de membre | Description | |
|---|---|---|
| Failover | Value = 4. Initiates a failover for the database. | |
| ForceFailoverAndAllowDataLoss | Value = 5. Forces a failover for the database. | |
| Off | Value = 0. Terminates mirroring for the database. | |
| RemoveWitness | Value = 3. Removes the witness for mirroring on the database. | |
| Resume | Value = 2. Resumes mirroring for the database. | |
| Suspend | Value = 1. Suspends mirroring for the database. |
Notes
The MirroringOption enumeration class is served by the ChangeMirroringState method.