다음을 통해 공유


Add 메서드 (ObjectEventSet, ObjectEvent)

Adds a ObjectEvent object to a ObjectEventSet.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Shared Function Add ( _
    eventSet As ObjectEventSet, _
    anEvent As ObjectEvent _
) As ObjectEventSet
‘사용 방법
Dim eventSet As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet

returnValue = ObjectEventSet.Add(eventSet, _
    anEvent)
public static ObjectEventSet Add(
    ObjectEventSet eventSet,
    ObjectEvent anEvent
)
public:
static ObjectEventSet^ Add(
    ObjectEventSet^ eventSet, 
    ObjectEvent^ anEvent
)
static member Add : 
        eventSet:ObjectEventSet * 
        anEvent:ObjectEvent -> ObjectEventSet 
public static function Add(
    eventSet : ObjectEventSet, 
    anEvent : ObjectEvent
) : ObjectEventSet

매개 변수