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