Méthode ForeignKeyCollection.Remove (ForeignKey)
Removes a ForeignKey object from the foreign key collection.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Remove ( _
foreignKey As ForeignKey _
)
'Utilisation
Dim instance As ForeignKeyCollection
Dim foreignKey As ForeignKey
instance.Remove(foreignKey)
public void Remove(
ForeignKey foreignKey
)
public:
void Remove(
ForeignKey^ foreignKey
)
member Remove :
foreignKey:ForeignKey -> unit
public function Remove(
foreignKey : ForeignKey
)
Paramètres
- foreignKey
Type : Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey object value that specifies the foreign key to be removed from the foreign key collection.