Export (0) Print
Expand All

UserDefinedFunctionEventSet Class

The UserDefinedFunctionEventSet object represents a SQL Server set of user-defined function events.

Object
  Microsoft.SqlServer.Management.Smo.EventSetBase
    Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet

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

public sealed class UserDefinedFunctionEventSet : EventSetBase

The UserDefinedFunctionEventSet type exposes the following members.

  NameDescription
Public methodUserDefinedFunctionEventSet()Initializes a new instance of the UserDefinedFunctionEventSet class.
Public methodUserDefinedFunctionEventSet(UserDefinedFunctionEvent)Initializes a new instance of the UserDefinedFunctionEventSet class with a specified event.
Public methodUserDefinedFunctionEventSet(UserDefinedFunctionEvent[])Initializes a new instance of the UserDefinedFunctionEventSet class with a specified set of events.
Public methodUserDefinedFunctionEventSet(UserDefinedFunctionEventSet)Initializes a new instance of the UserDefinedFunctionEventSet class with a specified set of events.
Top

  NameDescription
Public propertyAlterFunctionGets or sets a Boolean property value that specifies whether the event that occurs when a function is altered is included in the event set.
Public propertyDropFunctionGets or sets a Boolean property value that specifies whether the event that occurs when a function is dropped is included in the event set.
Public propertyNumberOfElementsGets or sets a Boolean property value that specifies whether the event that occurs when the number of elements changes is included in the event set. (Overrides EventSetBase.NumberOfElements.)
Protected propertyStorageGets or sets the bit array for event set storage. (Inherited from EventSetBase.)
Top

  NameDescription
Public methodAdd(UserDefinedFunctionEvent)Adds a UserDefinedFunctionEvent object to the UserDefinedFunctionEventSet object.
Public methodStatic memberAdd(UserDefinedFunctionEventSet, UserDefinedFunctionEvent)Adds a user defined function event to an user defined function event set.
Public methodCopyReturns a copy of the event set. (Overrides EventSetBase.Copy().)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRemoveRemoves an event from the event set.
Public methodStatic memberSubtractSubtracts a user defined function event from a user defined function event set.
Public methodToStringReturns a String that represents the UserDefinedFunctionEventSet object. (Overrides ObjectToString.)
Top

  NameDescription
Public operatorStatic memberAdditionCreates a user-defined function event set by performing an addition operation on a UserDefinedFunctionEvent object and a UserDefinedFunctionEventSet object.
Public operatorStatic memberSubtractionCreates a user-defined function event set by performing a subtraction operation on a UserDefinedFunctionEvent object and a UserDefinedFunctionEventSet object.
Top

SQL Server provides events subscription for all SMO objects that have server event support. The UserDefinedFunction object has event support for the events represented by UserDefinedFunctionEventSet properties.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft