Database.Script Method

 

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodScript()

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

System_CAPS_pubmethodScript(ScriptingOptions)

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

Return to top
Show: