ForeignKeyCollection.Remove Método (ForeignKey)
Removes a ForeignKey object from 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 Remove ( _
foreignKey As ForeignKey _
)
'Uso
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
)
Parámetros
- foreignKey
Tipo: Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey object value that specifies the foreign key to be removed from the foreign key collection.