IDataDestination.ScriptIndexes Method

Visual Studio 2010

Retrieves a script for all the indexes in the given schema.

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

StringCollection ScriptIndexes(
	ReadOnlyCollection<Index> indexes,
	ScriptOptions options
)

Parameters

indexes
Type: System.Collections.ObjectModel.ReadOnlyCollection<Index>
Indexes schema.
options
Type: Microsoft.SqlServerCe.Management.Scripting.ScriptOptions
Script options that need to be supported.

Return Value

Type: System.Collections.Specialized.StringCollection
The script for the given indexes.
Show: