다음을 통해 공유


Add 메서드 (UserDefinedFunctionEventSet, UserDefinedFunctionEvent)

Adds a user defined function event to an user defined function event set.

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

구문

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

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