ForeignKeyCollection.Add Método
Adds a ForeignKey object to the foreign key collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
foreignKey As ForeignKey _
)
'Uso
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
)
Parámetros
- foreignKey
Tipo: Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey object value that is to be added into the foreign key collection.