Remove 方法 (ForeignKey)
Removes a ForeignKey object from the foreign key collection.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Remove ( _
foreignKey As ForeignKey _
)
'用途
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
)
參數
- foreignKey
型別:Microsoft.SqlServer.Management.Smo. . :: . .ForeignKey
A ForeignKey object value that specifies the foreign key to be removed from the foreign key collection.