TableViewBase.Triggers 속성

Represents a collection of Trigger objects. Each Trigger object represents a trigger that is defined on the table or view.

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

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Trigger), SfcObjectFlags.Design)> _
Public ReadOnly Property Triggers As TriggerCollection 
    Get
‘사용 방법
Dim instance As TableViewBase 
Dim value As TriggerCollection 

value = instance.Triggers
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Trigger), SfcObjectFlags.Design)]
public TriggerCollection Triggers { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Trigger), SfcObjectFlags::Design)]
public:
property TriggerCollection^ Triggers {
    TriggerCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Trigger), SfcObjectFlags.Design)>]
member Triggers : TriggerCollection
function get Triggers () : TriggerCollection

속성 값

유형: Microsoft.SqlServer.Management.Smo.TriggerCollection
A TriggerCollection object that represents all the triggers that are defined on the table or view.

데이터베이스 개체 작업

참고 항목

참조

TableViewBase 클래스

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

관련 자료

테이블

CREATE TABLE(Transact-SQL)

CREATE VIEW(Transact-SQL)