다음을 통해 공유


SqlAssemblyEvent.Add 메서드

Returns an SQL assembly event set that is created by adding two SQL assembly events together.

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

구문

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

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
An SqlAssemblyEventSet object value that specifies a set of two assembly events.

SMO 이벤트 처리

참고 항목

참조

SqlAssemblyEvent 클래스

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