Freigeben über


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
)

Parameter

  • 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.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiel

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

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

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