IDataDestination.ScriptIndexes Method

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)

Syntax

'Declaration
Function ScriptIndexes ( _
    indexes As ReadOnlyCollection(Of Index), _
    options As ScriptOptions _
) As StringCollection
'Usage
Dim instance As IDataDestination
Dim indexes As ReadOnlyCollection(Of Index)
Dim options As ScriptOptions
Dim returnValue As StringCollection

returnValue = instance.ScriptIndexes(indexes, _
    options)
StringCollection ScriptIndexes(
    ReadOnlyCollection<Index> indexes,
    ScriptOptions options
)
StringCollection^ ScriptIndexes(
    ReadOnlyCollection<Index^>^ indexes, 
    ScriptOptions^ options
)
abstract ScriptIndexes : 
        indexes:ReadOnlyCollection<Index> * 
        options:ScriptOptions -> StringCollection 
function ScriptIndexes(
    indexes : ReadOnlyCollection<Index>, 
    options : ScriptOptions
) : StringCollection

Parameters

Return Value

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

See Also

Reference

IDataDestination Interface

Microsoft.SqlServerCe.Management.Scripting Namespace