Partager via


IndexedColumn Constructor (Index, String)

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

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
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
)

Paramètres

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemple

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

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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

Autres ressources

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