Aracılığıyla paylaş


DatabaseDdlTriggerEventSet.Add Method (DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent)

Returns a set of database DDL trigger events after adding a new event to the event specified set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Syntax

'Bildirim
Public Shared Function Add ( _
    eventSet As DatabaseDdlTriggerEventSet, _
    anEvent As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Kullanım
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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet that represents the event set.

Examples

Handling SMO Events

See Also

Reference

DatabaseDdlTriggerEventSet Class

Add Overload

Microsoft.SqlServer.Management.Smo Namespace