IDataDestination.ScriptDatabase Method

Visual Studio 2010

Retrieves script for the database.

Namespace:  Microsoft.SqlServerCe.Management.Scripting
Assembly:  Microsoft.SqlServerCe.Management.Scripting (in Microsoft.SqlServerCe.Management.Scripting.dll)

StringCollection ScriptDatabase(
	Database database,
	ScriptOptions options
)

Parameters

database
Type: Microsoft.SqlServerCe.Management.Scripting.Schema.Database
The database schema.
options
Type: Microsoft.SqlServerCe.Management.Scripting.ScriptOptions
The script options that need to be supported.

Return Value

Type: System.Collections.Specialized.StringCollection
The script for the given database creation or usage.
Show: