Condividi tramite


Metodo Add

Adds a ForeignKey object to the foreign key collection.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Add ( _
    foreignKey As ForeignKey _
)
'Utilizzo
Dim instance As ForeignKeyCollection
Dim foreignKey As ForeignKey

instance.Add(foreignKey)
public void Add(
    ForeignKey foreignKey
)
public:
void Add(
    ForeignKey^ foreignKey
)
member Add : 
        foreignKey:ForeignKey -> unit 
public function Add(
    foreignKey : ForeignKey
)

Parametri