UserDefinedFunctionEventSet.Add 메서드 (UserDefinedFunctionEventSet, UserDefinedFunctionEvent)
Adds a user defined function event to an user defined function event set.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
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
매개 변수
- eventSet
유형: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
The user defined function event set.
- anEvent
유형: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEvent
The user defined function event.
반환 값
유형: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
The user defined function event set with added event.