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 _
)
'Usage
Dim index As Index
Dim name As String
Dim instance As New IndexedColumn(index, name)
public IndexedColumn(
Index index,
string name
)
public:
IndexedColumn(
Index^ index,
String^ name
)
new :
index:Index *
name:string -> IndexedColumn
public function IndexedColumn(
index : Index,
name : String
)
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.
Examples
Creating, Altering, and Removing Indexes
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace