다음을 통해 공유


Trigger.DeleteOrder 속성

Gets or sets the order in which the trigger and the delete operation are executed.

네임스페이스:  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 DeleteOrder As ActivationOrder 
    Get 
    Set
‘사용 방법
Dim instance As Trigger 
Dim value As ActivationOrder 

value = instance.DeleteOrder

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

속성 값

유형: Microsoft.SqlServer.Management.Smo.Agent.ActivationOrder
An ActivationOrder object value that specifies whether the trigger is executed before or after the records are deleted.

트리거 생성, 변경 및 제거

참고 항목

참조

Trigger 클래스

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

관련 자료

DML 트리거

CREATE TRIGGER(Transact-SQL)