Jaa


IndexedColumn Constructor (Index, String)

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

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

Syntax

'Declaration
Public Sub New ( _
    index As Index, _
    name As String _
)
public IndexedColumn (
    Index index,
    string name
)
public:
IndexedColumn (
    Index^ index, 
    String^ name
)
public IndexedColumn (
    Index index, 
    String name
)
public function IndexedColumn (
    index : Index, 
    name : String
)

Parameters

  • index
    An Index object that specifies the index in which the indexed column is participating.
  • name
    A String value that specifies the name of the column.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Create a Non-Clustered, Composite Index in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IndexedColumn Class
IndexedColumn Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Creating, Altering, and Removing Indexes
Indexes
CREATE INDEX (Transact-SQL)