Método Database.ChangeMirroringState
Changes the mirroring configuration as specified by the options.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub ChangeMirroringState ( _
mirroringOption As MirroringOption _
)
'Uso
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
)
Parâmetros
- mirroringOption
Tipo: Microsoft.SqlServer.Management.Smo.MirroringOption
A MirroringOption object value that specifies how the mirroring configuration is updated.
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo
Outros recursos
Trabalhando com objetos de banco de dados
Administração de espelhamento de banco de dados