SQLServer.Device Object
Drops the SQL Server database or dump device and removes the Device object. For a database device, if any databases are using any space on the device, the database device cannot be removed.
Device.Remove
HRESULT pDevice->Remove ( );
sp_dropdevice