Método Add (IndexedColumn, String)
Adds an IndexedColumn object to the position after a specified, existing IndexedColumn object in the IndexedColumnCollection collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub Add ( _
indexedColumn As IndexedColumn, _
insertAtColumnName As String _
)
'Uso
Dim instance As IndexedColumnCollection
Dim indexedColumn As IndexedColumn
Dim insertAtColumnName As String
instance.Add(indexedColumn, insertAtColumnName)
public void Add(
IndexedColumn indexedColumn,
string insertAtColumnName
)
public:
void Add(
IndexedColumn^ indexedColumn,
String^ insertAtColumnName
)
member Add :
indexedColumn:IndexedColumn *
insertAtColumnName:string -> unit
public function Add(
indexedColumn : IndexedColumn,
insertAtColumnName : String
)
Parâmetros
- indexedColumn
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .IndexedColumn
An IndexedColumn object value that is to be added into the IndexedColumnCollection collection.
- insertAtColumnName
Tipo: System. . :: . .String
A String value that specifies the name of the existing IndexedColumn object in the collection after which to insert the new IndexedColumn object.
Consulte também