IndexedColumn Constructor (Index, String, Boolean)

 

Initializes a new instance of the IndexedColumn class on the specified index and with the specified name and order.

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

public IndexedColumn(
	Index index,
	string name,
	bool descending
)

Parameters

index
Type: Microsoft.SqlServer.Management.Smo.Index

An Index object that specifies the index in which the indexed column is participating.

name
Type: System.String

A String value that specifies the name of the column.

descending
Type: System.Boolean

A Boolean value that specifies whether the index is sorted in descending or ascending order.

If True, the index is sorted in descending order.

If False, the index is sorted in ascending order.

Return to top
Show: