Partager via


Database.Script Method

Generates a Transact-SQL script that can be used to re-create the database.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Liste de surcharge

Nom Description
Database.Script ()
Generates a Transact-SQL script that can be used to re-create the database.
Database.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the database as specified by the script options.

Voir aussi

Référence

Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

How to: Create, Alter, and Remove a Database in Visual Basic .NET
Scripting
Creating, Altering, and Removing Databases
CREATE DATABASE (Transact-SQL)