Compartir a través de


Add Método (ForeignKeyColumn, String)

Adds a ForeignKeyColumn object to the position after a specified, existing ForeignKeyColumn object in the foreign key column collection.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub Add ( _
    foreignKeyColumn As ForeignKeyColumn, _
    insertAtColumnName As String _
)
'Uso
Dim instance As ForeignKeyColumnCollection
Dim foreignKeyColumn As ForeignKeyColumn
Dim insertAtColumnName As String

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

Parámetros

Ejemplos

Usar colecciones