Nota
L'accés a aquesta pàgina requereix autorització. Podeu provar d'iniciar la sessió o de canviar els directoris.
L'accés a aquesta pàgina requereix autorització. Podeu provar de canviar els directoris.
Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.
The KillDatabase method drops a database from the referenced Microsoft SQL Server installation, regardless of the status or availability of the database.
Sintaxis
object
.KillDatabase(
Database
)
Parts
- object
Expression that evaluates to an object in the Applies To list.
- Database
String specifying an existing database by name.
Prototype (C/C++)
HRESULT KillDatabase(
SQLDMO_LPCSTR szDatabase);
Notas
The Remove method of the Database object and Databases collection drops a referenced database. A database drop can fail if the database is offline. When the Remove method of the Database object or Databases collection fails, use the KillDatabase method to force a drop of the database.
Applies To:
|