Compartilhar via


Método ColumnCollection.Add (Column, String)

Adds a Column object to the ColumnCollection collection after a specified Column object currently in the ColumnCollection collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Add ( _
    column As Column, _
    insertAtColumnName As String _
)
'Uso
Dim instance As ColumnCollection 
Dim column As Column 
Dim insertAtColumnName As String

instance.Add(column, insertAtColumnName)
public void Add(
    Column column,
    string insertAtColumnName
)
public:
void Add(
    Column^ column, 
    String^ insertAtColumnName
)
member Add : 
        column:Column * 
        insertAtColumnName:string -> unit
public function Add(
    column : Column, 
    insertAtColumnName : String
)

Parâmetros

  • insertAtColumnName
    Tipo: System.String
    A string value that specifies the name of the Column object, currently in the collection, after which to insert the new Column.

Exemplos

Usando coleções

Consulte também

Referência

ColumnCollection Classe

Sobrecarregado Add

Namespace Microsoft.SqlServer.Management.Smo