Column.EnumIndexes Method

Enumerates a list of indexes that include the column.

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

Syntax

'Declaration
Public Function EnumIndexes As DataTable
'Usage
Dim instance As Column 
Dim returnValue As DataTable 

returnValue = instance.EnumIndexes()
public DataTable EnumIndexes()
public:
DataTable^ EnumIndexes()
member EnumIndexes : unit -> DataTable
public function EnumIndexes() : DataTable

Return Value

Type: System.Data.DataTable
A DataTable object value that contains the enumerated list of indexes. The table describes the different columns of the returned DataTable.

Column

Data type

Description

Urn

String

The URN that uniquely identifies an index that uses the referenced column in its definition.

Examples

Working with Database Objects

See Also

Reference

Column Class

Microsoft.SqlServer.Management.Smo Namespace