다음을 통해 공유


Add 메서드

Returns the object event set that is created by adding two object events.

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

구문

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

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
A ObjectEventSet object value that specifies a set of object events.