Clase ObjectEventSet
The ObjectEventSet object represents a SQL Server set of object events.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .EventSetBase
Microsoft.SqlServer.Management.Smo..::..ObjectEventSet
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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
El tipo ObjectEventSet expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
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. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
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. (Invalida EventSetBase. . :: . .NumberOfElements.) | |
Storage | Gets or sets the bit array for event set storage. (Se hereda de EventSetBase.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Add(ObjectEvent) | Adds an ObjectEvent object to the ObjectEventSet object. | |
Add(ObjectEventSet, ObjectEvent) | Adds a ObjectEvent object to a ObjectEventSet. | |
Copy | Returns a copy of the ObjectEventSet object. (Invalida EventSetBase. . :: . .Copy() () () ().) | |
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
FitsMask | Specifies whether the EventSetBase object fits the specified mask. (Se hereda de EventSetBase.) | |
GetHashCode | (Se hereda de Object.) | |
GetType | (Se hereda de Object.) | |
HasCommonBits | Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Se hereda de EventSetBase.) | |
MemberwiseClone | (Se hereda de Object.) | |
Remove | Removes an event from the event set. | |
SetValue | Sets the bit value at the specified index position. (Se hereda de EventSetBase.) | |
Subtract | Subtracts a ObjectEvent from a [T:Microsoft.SqlServer.Management.Smo.ObjectEventSet.] | |
ToString | Returns a string that represents the ObjectEventSet object. (Invalida Object. . :: . .ToString() () () ().) |
Arriba
Operadores
Nombre | Descripción | |
---|---|---|
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. |
Arriba
Comentarios
The events in the object event set are generated by various SMO objects that represent the SQL Server objects.
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.
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.