Classe StoredProcedureEventSet
The StoredProcedureEventSet object represents a set of stored procedure events.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Management.Smo.EventSetBase
Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public NotInheritable Class StoredProcedureEventSet _
Inherits EventSetBase
'Uso
Dim instance As StoredProcedureEventSet
public sealed class StoredProcedureEventSet : EventSetBase
public ref class StoredProcedureEventSet sealed : public EventSetBase
[<SealedAttribute>]
type StoredProcedureEventSet =
class
inherit EventSetBase
end
public final class StoredProcedureEventSet extends EventSetBase
O tipo StoredProcedureEventSet expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
StoredProcedureEventSet() | Initializes a new instance of the StoredProcedureEventSet class. | |
StoredProcedureEventSet(StoredProcedureEvent) | Initializes a new instance of the StoredProcedureEventSet class with a specified event. | |
StoredProcedureEventSet(array<StoredProcedureEvent[]) | Initializes a new instance of the StoredProcedureEventSet class with a specified set of events. | |
StoredProcedureEventSet(StoredProcedureEventSet) | Initializes a new instance of the StoredProcedureEventSet class with a specified set of events. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
AlterProcedure | Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a stored procedure is altered. | |
DropProcedure | Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a stored procedure 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(StoredProcedureEvent) | Returns a set of stored procedure events after adding a new stored procedure event to the referenced event set. | |
Add(StoredProcedureEventSet, StoredProcedureEvent) | Returns a set of stored procedure events after adding a new stored procedure event to the specified event set. | |
Copy | Returns a copy of the event set. (Substitui EventSetBase.Copy().) | |
Equals | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
Remove | Removes an event from the event set. | |
Subtract | Returns a set of stored procedure events after subtracting a stored procedure event from the specified event set. | |
ToString | Returns a string that represents the StoredProcedureEventSet object. (Substitui Object.ToString().) |
Início
Operadores
Nome | Descrição | |
---|---|---|
Addition | Creates a stored procedure event set by performing an addition operation on a StoredProcedureEvent object and a StoredProcedureEventSet object. | |
Subtraction | Creates a stored procedure event set by performing a subtraction operation on a StoredProcedureEvent object and a StoredProcedureEventSet object. |
Início
Comentários
SQL Server provides events subscriptions for all SMO objects that have server event support. The StoredProcedure object has event support for the events that are represented by StoredProcedureEventSet 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.
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.