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 | |
---|---|---|
UserDefinedFunctionEventSet() () () () | Initializes a new instance of the UserDefinedFunctionEventSet class. | |
UserDefinedFunctionEventSet(UserDefinedFunctionEvent) | Initializes a new instance of the UserDefinedFunctionEventSet class with a specified event. | |
UserDefinedFunctionEventSet(array<UserDefinedFunctionEvent> [] () [] []) | Initializes a new instance of the UserDefinedFunctionEventSet class with a specified set of events. | |
UserDefinedFunctionEventSet(UserDefinedFunctionEventSet) | Initializes a new instance of the UserDefinedFunctionEventSet class with a specified set of events. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
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. | |
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. | |
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.) | |
Storage | Gets or sets the bit array for event set storage. (Herdado de EventSetBase.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Add(UserDefinedFunctionEvent) | Adds a UserDefinedFunctionEvent object to the UserDefinedFunctionEventSet object. | |
Add(UserDefinedFunctionEventSet, UserDefinedFunctionEvent) | Adds a user defined function event to an user defined function event set. | |
Copy | Returns a copy of the event set. (Substitui EventSetBase. . :: . .Copy() () () ().) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
FitsMask | Specifies whether the EventSetBase object fits the specified mask. (Herdado de EventSetBase.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
HasCommonBits | Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Herdado de EventSetBase.) | |
MemberwiseClone | (Herdado de Object.) | |
Remove | Removes an event from the event set. | |
SetValue | Sets the bit value at the specified index position. (Herdado de EventSetBase.) | |
Subtract | Subtracts a user defined function event from a user defined function event set. | |
ToString | Returns a String that represents the UserDefinedFunctionEventSet object. (Substitui Object. . :: . .ToString() () () ().) |
Início
Operadores
Nome | Descrição | |
---|---|---|
Addition | Creates a user-defined function event set by performing an addition operation on a UserDefinedFunctionEvent object and a UserDefinedFunctionEventSet object. | |
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.