Compartir a través de


Clase UserDefinedFunctionEvent

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public NotInheritable Class UserDefinedFunctionEvent
'Uso
Dim instance As UserDefinedFunctionEvent
public sealed class UserDefinedFunctionEvent
public ref class UserDefinedFunctionEvent sealed
[<SealedAttribute>]
type UserDefinedFunctionEvent =  class end
public final class UserDefinedFunctionEvent

El tipo UserDefinedFunctionEvent expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad públicaMiembro estático AlterFunction Gets a user-defined function event that can be included in the event set.
Propiedad públicaMiembro estático DropFunction Gets a user-defined function event that can be included in the event set.

Arriba

Métodos

  Nombre Descripción
Método públicoMiembro estático Add Adds two user defined function events to create a user defined function event set.
Método públicoMiembro estático BitwiseOr Combines two user defined function events using a bitwise or to create a user defined function event set.
Método público Equals Determines whether the referenced user-defined function event object is equal to the specified object. (Invalida Object.Equals(Object).)
Método público GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Invalida Object.GetHashCode().)
Método público GetType (Se hereda de Object.)
Método público ToString Returns the referenced object in string format. (Invalida Object.ToString().)

Arriba

Operadores

  Nombre Descripción
Operador públicoMiembro estático Addition Creates a user-defined function event set by performing an addition operation on two UserDefinedFunctionEvent objects.
Operador públicoMiembro estático BitwiseOr Creates a user-defined function event set by performing a bitwise OR operation on two UserDefinedFunctionEvent objects.
Operador públicoMiembro estático Equality Creates a user-defined function event set by performing an equality operation on two UserDefinedFunctionEvent objects.
Operador públicoMiembro estático Implicit(UserDefinedFunctionEvent to UserDefinedFunctionEventSet) Casts a single user defined function event as a user defined function event set.
Operador públicoMiembro estático Inequality Creates a user-defined function event set by performing an inequality operation on two UserDefinedFunctionEvent objects.

Arriba

Comentarios

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

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Ejemplos

Controlar eventos SMO

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Smo