Método Remove (ForeignKey)
Removes a ForeignKey object from the foreign key collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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.
Consulte também