Classe UserDefinedFunctionEventSet

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

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public NotInheritable Class UserDefinedFunctionEventSet _
    Inherits EventSetBase
'Uso
Dim instance As UserDefinedFunctionEventSet
public sealed class UserDefinedFunctionEventSet : EventSetBase
public ref class UserDefinedFunctionEventSet sealed : public EventSetBase
[<SealedAttribute>]
type UserDefinedFunctionEventSet =  
    class
        inherit EventSetBase
    end
public final class UserDefinedFunctionEventSet extends EventSetBase

O tipo UserDefinedFunctionEventSet expõe os membros a seguir.

Construtores

  Nome Descrição
Método público UserDefinedFunctionEventSet() () () () Initializes a new instance of the UserDefinedFunctionEventSet class.
Método público UserDefinedFunctionEventSet(UserDefinedFunctionEvent) Initializes a new instance of the UserDefinedFunctionEventSet class with a specified event.
Método público UserDefinedFunctionEventSet(array<UserDefinedFunctionEvent> [] () [] []) Initializes a new instance of the UserDefinedFunctionEventSet class with a specified set of events.
Método público UserDefinedFunctionEventSet(UserDefinedFunctionEventSet) Initializes a new instance of the UserDefinedFunctionEventSet class with a specified set of events.

Início

Propriedades

  Nome Descrição
Propriedade pública AlterFunction Gets or sets a Boolean property value that specifies whether the event that occurs when a function is altered is included in the event set.
Propriedade pública DropFunction Gets or sets a Boolean property value that specifies whether the event that occurs when a function is dropped is included in the event set.
Propriedade pública NumberOfElements Gets 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. (Substitui EventSetBase. . :: . .NumberOfElements.)
Propriedade protegida Storage Gets or sets the bit array for event set storage. (Herdado de EventSetBase.)

Início

Métodos

  Nome Descrição
Método público Add(UserDefinedFunctionEvent) Adds a UserDefinedFunctionEvent object to the UserDefinedFunctionEventSet object.
Método públicoMembro estático Add(UserDefinedFunctionEventSet, UserDefinedFunctionEvent) Adds a user defined function event to an user defined function event set.
Método público Copy Returns a copy of the event set. (Substitui EventSetBase. . :: . .Copy() () () ().)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método protegido FitsMask Specifies whether the EventSetBase object fits the specified mask. (Herdado de EventSetBase.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido HasCommonBits Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Herdado de EventSetBase.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público Remove Removes an event from the event set.
Método protegido SetValue Sets the bit value at the specified index position. (Herdado de EventSetBase.)
Método públicoMembro estático Subtract Subtracts a user defined function event from a user defined function event set.
Método público ToString Returns a String that represents the UserDefinedFunctionEventSet object. (Substitui Object. . :: . .ToString() () () ().)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Addition Creates a user-defined function event set by performing an addition operation on a UserDefinedFunctionEvent object and a UserDefinedFunctionEventSet object.
Operador públicoMembro estático Subtraction Creates a user-defined function event set by performing a subtraction operation on a UserDefinedFunctionEvent object and a UserDefinedFunctionEventSet object.

Início

Comentários

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

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência