IndexedColumnCollection.Add Método (IndexedColumn, Int32)
Adds an IndexedColumn object at a specified index position in the IndexedColumnCollection collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
indexedColumn As IndexedColumn, _
insertAtPosition As Integer _
)
'Uso
Dim instance As IndexedColumnCollection
Dim indexedColumn As IndexedColumn
Dim insertAtPosition As Integer
instance.Add(indexedColumn, insertAtPosition)
public void Add(
IndexedColumn indexedColumn,
int insertAtPosition
)
public:
void Add(
IndexedColumn^ indexedColumn,
int insertAtPosition
)
member Add :
indexedColumn:IndexedColumn *
insertAtPosition:int -> unit
public function Add(
indexedColumn : IndexedColumn,
insertAtPosition : int
)
Parámetros
- indexedColumn
Tipo: Microsoft.SqlServer.Management.Smo.IndexedColumn
An IndexedColumn object value that is to be added into the IndexedColumnCollection column collection.
- insertAtPosition
Tipo: System.Int32
An Int32 value that specifies the index position of the IndexedColumnCollection collection.