다음을 통해 공유


Add 메서드 (SqlAssemblyEventSet, SqlAssemblyEvent)

Returns an SQL assembly event set after adding a new SQL assembly event to the specified event set.

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

구문

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

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

매개 변수