UserDefinedFunction.Events Property

Gets the events associated with the user-defined function.

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

Syntax

'Declaration
Public ReadOnly Property Events As UserDefinedFunctionEvents 
    Get
'Usage
Dim instance As UserDefinedFunction 
Dim value As UserDefinedFunctionEvents 

value = instance.Events
public UserDefinedFunctionEvents Events { get; }
public:
property UserDefinedFunctionEvents^ Events {
    UserDefinedFunctionEvents^ get ();
}
member Events : UserDefinedFunctionEvents
function get Events () : UserDefinedFunctionEvents

Property Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEvents
A UserDefinedFunctionEvents object that represents the user-defined function events.

Examples

Setting Properties

See Also

Reference

UserDefinedFunction Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

User-Defined Functions (Database Engine)

CREATE FUNCTION (Transact-SQL)