SwitchToMirrorDevice Method

SQLServer.Device Object

Description

Permanently stops disk mirroring for a device. Now only the mirror device is used for storage, permanently becoming the new primary database device. The original primary database device is no longer used.

Visual Basic

Device.SwitchToMirrorDevice

C++

HRESULT pDevice->SwitchToMirrorDevice ( );

Reference

DISK UNMIRROR