Server.DetachDatabase Method
Detaches a database from the instance of Microsoft SQL Server.
Notas
Texto actualizado:
The data and transaction log files of a database can be detached and then reattached to the same or another instance of SQL Server. Detaching and attaching a database is useful if you want to change the database to a different instance of SQL Server on the same computer, or if you want to move the database.
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Lista de sobrecargas
Nombre | Description |
---|---|
Server.DetachDatabase (String, Boolean) |
Detaches the specified database from the instance of Microsoft SQL Server with the option to update statistics before the database is detached.
|
Server.DetachDatabase (String, Boolean, Boolean) |
Detaches the specified database from the instance of Microsoft SQL Server with the option to update statistics before the database is detached.
|
Vea también
Referencia
Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace
Otros recursos
How to: Use an SMO Method with a Parameter in Visual Basic .NET
Separar y adjuntar bases de datos
Calling Methods
Administrar servidores
Separar base de datos (página General)