Add 메서드 (DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent)
Returns a set of database DDL trigger events after adding a new event to the event specified set.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SqlEnum(Microsoft.SqlServer.SqlEnum.dll)
구문
‘선언
Public Shared Function Add ( _
eventSet As DatabaseDdlTriggerEventSet, _
anEvent As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
‘사용 방법
Dim eventSet As DatabaseDdlTriggerEventSet
Dim anEvent As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet
returnValue = DatabaseDdlTriggerEventSet.Add(eventSet, _
anEvent)
public static DatabaseDdlTriggerEventSet Add(
DatabaseDdlTriggerEventSet eventSet,
DatabaseDdlTriggerEvent anEvent
)
public:
static DatabaseDdlTriggerEventSet^ Add(
DatabaseDdlTriggerEventSet^ eventSet,
DatabaseDdlTriggerEvent^ anEvent
)
static member Add :
eventSet:DatabaseDdlTriggerEventSet *
anEvent:DatabaseDdlTriggerEvent -> DatabaseDdlTriggerEventSet
public static function Add(
eventSet : DatabaseDdlTriggerEventSet,
anEvent : DatabaseDdlTriggerEvent
) : DatabaseDdlTriggerEventSet
매개 변수
- eventSet
유형: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object that specifies the set of events to which the new event is added.
- anEvent
유형: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTriggerEvent
A DatabaseDdlTriggerEvent object that specifies the event which is added to the event set
반환 값
유형: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet that represents the event set.