Database.ChangeMirroringState Method

Changes the mirroring configuration as specified by the options.

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

public void ChangeMirroringState (
	MirroringOption mirroringOption
public void ChangeMirroringState (
	MirroringOption mirroringOption
public function ChangeMirroringState (
	mirroringOption : MirroringOption



A MirroringOption object value that specifies how the mirroring configuration is updated.

Updated text: 14 April 2006

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

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

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

Target Platforms



14 April 2006

Changed content:
  • Removed the database mirroring disclaimer from the ChangeMirroringState method in the Database class.

Community Additions