Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Generates a Transact-SQL script that can be used to re-create the database.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Overload List
| Name | 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.
|
See Also
Reference
Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
How to: Create, Alter, and Remove a Database in Visual Basic .NET
Scripting
Creating, Altering, and Removing Databases
CREATE DATABASE (Transact-SQL)