Share via


UserDefinedFunctionEvent Class

The UserDefinedFunctionEvent object represents the SQL Server user-defined function events that can be included in a user-defined function event set.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEvent

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

Syntax

'Declaration
Public NotInheritable Class UserDefinedFunctionEvent
'Usage
Dim instance As UserDefinedFunctionEvent
public sealed class UserDefinedFunctionEvent
public ref class UserDefinedFunctionEvent sealed
[<SealedAttribute>]
type UserDefinedFunctionEvent =  class end
public final class UserDefinedFunctionEvent

The UserDefinedFunctionEvent type exposes the following members.

Properties

  Name Description
Public propertyStatic member AlterFunction Gets a user-defined function event that can be included in the event set.
Public propertyStatic member DropFunction Gets a user-defined function event that can be included in the event set.

Top

Methods

  Name Description
Public methodStatic member Add Adds two user defined function events to create a user defined function event set.
Public methodStatic member BitwiseOr Combines two user defined function events using a bitwise or to create a user defined function event set.
Public method Equals Determines whether the referenced user-defined function event object is equal to the specified object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the referenced object in string format. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Addition Creates a user-defined function event set by performing an addition operation on two UserDefinedFunctionEvent objects.
Public operatorStatic member BitwiseOr Creates a user-defined function event set by performing a bitwise OR operation on two UserDefinedFunctionEvent objects.
Public operatorStatic member Equality Creates a user-defined function event set by performing an equality operation on two UserDefinedFunctionEvent objects.
Public operatorStatic member Implicit(UserDefinedFunctionEvent to UserDefinedFunctionEventSet) Casts a single user defined function event as a user defined function event set.
Public operatorStatic member Inequality Creates a user-defined function event set by performing an inequality operation on two UserDefinedFunctionEvent objects.

Top

Remarks

The UserDefinedFunctionEvent object contains a property for each event to which a user-defined function can respond. The actual set of events is specified by using the UserDefinedFunctionEventSet object.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.