Classe ObjectEventSet
The ObjectEventSet object represents a SQL Server set of object events.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Management.Smo.EventSetBase
Microsoft.SqlServer.Management.Smo.ObjectEventSet
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public NotInheritable Class ObjectEventSet _
Inherits EventSetBase
'Uso
Dim instance As ObjectEventSet
public sealed class ObjectEventSet : EventSetBase
public ref class ObjectEventSet sealed : public EventSetBase
[<SealedAttribute>]
type ObjectEventSet =
class
inherit EventSetBase
end
public final class ObjectEventSet extends EventSetBase
O tipo ObjectEventSet expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ObjectEventSet() | Initializes a new instance of the ObjectEventSet class. | |
ObjectEventSet(ObjectEvent) | Initializes a new instance of the ObjectEventSet class with the specified set of event. | |
ObjectEventSet(array<ObjectEvent[]) | Initializes a new instance of the ObjectEventSet class with the specified set of events. | |
ObjectEventSet(ObjectEventSet) | Initializes a new instance of the ObjectEventSet class with a specified set of events. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Alter | Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when the properties of an object are modified. | |
Drop | Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an object is dropped. | |
NumberOfElements | Gets the number of events 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(ObjectEvent) | Adds an ObjectEvent object to the ObjectEventSet object. | |
Add(ObjectEventSet, ObjectEvent) | Adds an ObjectEvent object to a ObjectEventSet. | |
Copy | Returns a copy of the ObjectEventSet object. (Substitui EventSetBase.Copy().) | |
Equals | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
Remove | Removes an event from the event set. | |
Subtract | Subtracts a ObjectEvent from a [T:Microsoft.SqlServer.Management.Smo.ObjectEventSet.] | |
ToString | Returns a string that represents the ObjectEventSet object. (Substitui Object.ToString().) |
Início
Operadores
Nome | Descrição | |
---|---|---|
Addition | Creates an object event set by performing an addition operation on an ObjectEvent object and an ObjectEventSet object. | |
Subtraction | Creates an object event set by performing a subtraction operation on an ObjectEvent object and an ObjectEventSet object. |
Início
Comentários
The events in the object event set are generated by various SMO objects that represent the SQL Server objects.
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.
Exemplos
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.