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 | |
---|---|---|
AlterFunction | Gets a user-defined function event that can be included in the event set. | |
DropFunction | Gets a user-defined function event that can be included in the event set. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds two user defined function events to create a user defined function event set. | |
BitwiseOr | Combines two user defined function events using a bitwise or to create a user defined function event set. | |
Equals | Determines whether the referenced user-defined function event object is equal to the specified object. (Overrides Object.Equals(Object).) | |
GetHashCode | This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Overrides Object.GetHashCode().) | |
GetType | (Inherited from Object.) | |
ToString | Returns the referenced object in string format. (Overrides Object.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Addition | Creates a user-defined function event set by performing an addition operation on two UserDefinedFunctionEvent objects. | |
BitwiseOr | Creates a user-defined function event set by performing a bitwise OR operation on two UserDefinedFunctionEvent objects. | |
Equality | Creates a user-defined function event set by performing an equality operation on two UserDefinedFunctionEvent objects. | |
Implicit(UserDefinedFunctionEvent to UserDefinedFunctionEventSet) | Casts a single user defined function event as a user defined function event set. | |
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.
Examples
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.