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.