DatabaseEvent.Add 메서드

Returns the database event set that was created by adding two database events together.

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

구문

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

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object value that specifies a set of database events that are created by adding two database events.

SMO 이벤트 처리

참고 항목

참조

DatabaseEvent 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스