Classe SqlAssemblyEventSet
The SqlAssemblyEventSet object represents a set of assembly events.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .EventSetBase
Microsoft.SqlServer.Management.Smo..::..SqlAssemblyEventSet
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class SqlAssemblyEventSet _
Inherits EventSetBase
'Utilizzo
Dim instance As SqlAssemblyEventSet
public sealed class SqlAssemblyEventSet : EventSetBase
public ref class SqlAssemblyEventSet sealed : public EventSetBase
[<SealedAttribute>]
type SqlAssemblyEventSet =
class
inherit EventSetBase
end
public final class SqlAssemblyEventSet extends EventSetBase
Nel tipo SqlAssemblyEventSet sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
SqlAssemblyEventSet() () () () | Initializes a new instance of the SqlAssemblyEventSet class. | |
SqlAssemblyEventSet(SqlAssemblyEvent) | Initializes a new instance of the SqlAssemblyEventSet class with a specified event. | |
SqlAssemblyEventSet(array<SqlAssemblyEvent> [] () [] []) | Initializes a new instance of the SqlAssemblyEventSet class with a specified set of events. | |
SqlAssemblyEventSet(SqlAssemblyEventSet) | Initializes a new instance of the SqlAssemblyEventSet class with a specified set of events. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
AlterAssembly | Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an assembly is altered. | |
DropAssembly | Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an assembly is dropped. | |
NumberOfElements | Gets the number of elements 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(SqlAssemblyEvent) | Returns an SQL assembly event set after adding a new SQL assembly event to the referenced event set. | |
Add(SqlAssemblyEventSet, SqlAssemblyEvent) | Returns an SQL assembly event set after adding a new SQL assembly event to the specified event set. | |
Copy | Returns a copy of the event set. 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 | Returns an SQL assembly event set after subtracting a new SQL assembly event from the specified event set. | |
ToString | Returns a string that represents the SqlAssemblyEventSet object. Esegue l'override di Object. . :: . .ToString() () () (). |
In alto
Operatori
Nome | Descrizione | |
---|---|---|
Addition | Creates an assembly event set by performing an addition operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet object. | |
Subtraction | Creates an assembly event set by performing a subtraction operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet object. |
In alto
Osservazioni
SQL Server provides events subscription for all SMO objects that have server event support. The SqlAssembly object has event support for the events represented by SqlAssemblyEventSet properties.
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.