ServerDdlTriggerEventSet.Add 메서드 (ServerDdlTriggerEvent)
Returns a set of server DDL events after adding a new server DDL event to the set of events.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SqlEnum(Microsoft.SqlServer.SqlEnum.dll)
구문
‘선언
Public Function Add ( _
anEvent As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
‘사용 방법
Dim instance As ServerDdlTriggerEventSet
Dim anEvent As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet
returnValue = instance.Add(anEvent)
public ServerDdlTriggerEventSet Add(
ServerDdlTriggerEvent anEvent
)
public:
ServerDdlTriggerEventSet^ Add(
ServerDdlTriggerEvent^ anEvent
)
member Add :
anEvent:ServerDdlTriggerEvent -> ServerDdlTriggerEventSet
public function Add(
anEvent : ServerDdlTriggerEvent
) : ServerDdlTriggerEventSet
매개 변수
- 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 네임스페이스