Classe ObjectEventSet
The ObjectEventSet object represents a SQL Server set of object events.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .EventSetBase
Microsoft.SqlServer.Management.Smo..::..ObjectEventSet
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class ObjectEventSet _
Inherits EventSetBase
'Utilizzo
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
Nel tipo ObjectEventSet sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
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 alto
Proprietà
Nome | Descrizione | |
---|---|---|
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. Esegue l'override di EventSetBase. . :: . .NumberOfElements. | |
Storage | Gets or sets the bit array for event set storage. Ereditato da EventSetBase. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
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. Esegue l'override di EventSetBase. . :: . .Copy() () () (). | |
Equals | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
FitsMask | Specifies whether the EventSetBase object fits the specified mask. Ereditato da EventSetBase. | |
GetHashCode | Ereditato da Object. | |
GetType | Ereditato da Object. | |
HasCommonBits | Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. Ereditato da EventSetBase. | |
MemberwiseClone | Ereditato da Object. | |
Remove | Removes an event from the event set. | |
SetValue | Sets the bit value at the specified index position. Ereditato da EventSetBase. | |
Subtract | Subtracts a ObjectEvent from a [T:Microsoft.SqlServer.Management.Smo.ObjectEventSet.] | |
ToString | Returns a string that represents the ObjectEventSet object. Esegue l'override di Object. . :: . .ToString() () () (). |
In alto
Operatori
Nome | Descrizione | |
---|---|---|
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 alto
Osservazioni
The events in the object event set are generated by various SMO objects that represent the SQL Server objects.
Thread Safety
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.