Classe SqlAssemblyEvent

The SqlAssemblyEvent object represents the SQL Server assembly events that can be included in an assembly event set.

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class SqlAssemblyEvent
'Utilizzo
Dim instance As SqlAssemblyEvent
public sealed class SqlAssemblyEvent
public ref class SqlAssemblyEvent sealed
[<SealedAttribute>]
type SqlAssemblyEvent =  class end
public final class SqlAssemblyEvent

Nel tipo SqlAssemblyEvent sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblicaMembro statico AlterAssembly Gets an assembly event that can be included in the event set.
Proprietà pubblicaMembro statico DropAssembly Gets an assembly event that can be included in the event set.

In alto

Metodi

  Nome Descrizione
Metodo pubblicoMembro statico Add Returns an SQL assembly event set that is created by adding two SQL assembly events together.
Metodo pubblicoMembro statico BitwiseOr Returns a SqlAssemblyEventSet as a result of a bitwise OR operation on two Sql Assembly Events.
Metodo pubblico Equals Determines whether the referenced assembly event object is equal to a specified object. Esegue l'override di Object.Equals(Object).
Metodo pubblico GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. Esegue l'override di Object.GetHashCode().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico ToString Returns the referenced object in string format. Esegue l'override di Object.ToString().

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Addition Creates an assembly event set by performing an addition operation on two SqlAssemblyEvent objects.
Operatore pubblicoMembro statico BitwiseOr Creates an assembly event set by performing a bitwise OR operation on two ServerEvent objects.
Operatore pubblicoMembro statico Equality Creates an assembly event set by performing an equality operation on two SqlAssemblyEvent objects.
Operatore pubblicoMembro statico Implicit(SqlAssemblyEvent to SqlAssemblyEventSet) Casts a single SqlAssemblyEvent as an SqlAssemblyEventSet.
Operatore pubblicoMembro statico Inequality Creates an assembly event set by performing an inequality operation on two SqlAssemblyEvent objects.

In alto

Osservazioni

The SqlAssemblyEvent object contains a property for each event to which assembly can respond. The actual set of events is specified using the SqlAssemblyEventSet object.

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.

Esempi

Gestione degli eventi SMO

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.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo