共用方式為


ForeignKeyConstraint.DeleteAction 屬性

取得或設定要於刪除時採取的動作。

命名空間:  Microsoft.Data.Schema.ScriptDom.Sql
組件:  Microsoft.Data.Schema.ScriptDom.Sql (在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

語法

'宣告
Public Property DeleteAction As DeleteUpdateAction
    Get
    Set
public DeleteUpdateAction DeleteAction { get; set; }
public:
property DeleteUpdateAction DeleteAction {
    DeleteUpdateAction get ();
    void set (DeleteUpdateAction value);
}
member DeleteAction : DeleteUpdateAction with get, set
function get DeleteAction () : DeleteUpdateAction
function set DeleteAction (value : DeleteUpdateAction)

屬性值

型別:Microsoft.Data.Schema.ScriptDom.Sql.DeleteUpdateAction
傳回 DeleteUpdateAction 列舉值。

.NET Framework 安全性

請參閱

參考

ForeignKeyConstraint 類別

Microsoft.Data.Schema.ScriptDom.Sql 命名空間