TechNet
Export (0) Print
Expand All

UserDefinedFunctionEventSet.Add Method (UserDefinedFunctionEventSet, UserDefinedFunctionEvent)

 

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public static UserDefinedFunctionEventSet Add(
	UserDefinedFunctionEventSet eventSet,
	UserDefinedFunctionEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet

The user defined function event set.

anEvent
Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEvent

The user defined function event.

Return Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet

The user defined function event set with added event.

Return to top
Show:
© 2016 Microsoft