다음을 통해 공유


Trigger.Delete 속성

Gets or sets the Boolean property value that specifies whether the trigger is executed when records are deleted from the table.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property Delete As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As Trigger 
Dim value As Boolean 

value = instance.Delete

instance.Delete = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool Delete { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property bool Delete {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member Delete : bool with get, set
function get Delete () : boolean 
function set Delete (value : boolean)

속성 값

유형: System.Boolean
A Boolean value that specifies whether the trigger is executed when records are deleted.If True, the trigger is executed when records are deleted.If False (delete), the trigger is not executed when records are deleted.

트리거 생성, 변경 및 제거

참고 항목

참조

Trigger 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

DML 트리거

CREATE TRIGGER(Transact-SQL)