ServerDdlTriggerEventSet.Add Method (ServerDdlTriggerEvent)
Returns a set of server DDL events after adding a new server DDL event to the set of events.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)
Syntax
'Bildirim
Public Function Add ( _
anEvent As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Kullanım
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
Parameters
- anEvent
Type: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the new event.
Return Value
Type: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet that represents the event set.
Examples
See Also
Reference
ServerDdlTriggerEventSet Class
Microsoft.SqlServer.Management.Smo Namespace