Méthode Database.ChangeMirroringState
Changes the mirroring configuration as specified by the options.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub ChangeMirroringState ( _
mirroringOption As MirroringOption _
)
'Utilisation
Dim instance As Database
Dim mirroringOption As MirroringOption
instance.ChangeMirroringState(mirroringOption)
public void ChangeMirroringState(
MirroringOption mirroringOption
)
public:
void ChangeMirroringState(
MirroringOption mirroringOption
)
member ChangeMirroringState :
mirroringOption:MirroringOption -> unit
public function ChangeMirroringState(
mirroringOption : MirroringOption
)
Paramètres
- mirroringOption
Type : Microsoft.SqlServer.Management.Smo.MirroringOption
A MirroringOption object value that specifies how the mirroring configuration is updated.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo
Autres ressources
Utilisation des objets de base de données
Administration de la mise en miroir de bases de données