Classe SqlAssemblyEvent
The SqlAssemblyEvent object represents the SQL Server assembly events that can be included in an assembly event set.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public NotInheritable Class SqlAssemblyEvent
'Utilisation
Dim instance As SqlAssemblyEvent
public sealed class SqlAssemblyEvent
public ref class SqlAssemblyEvent sealed
[<SealedAttribute>]
type SqlAssemblyEvent = class end
public final class SqlAssemblyEvent
Le type SqlAssemblyEvent expose les membres suivants.
Propriétés
Nom | Description | |
---|---|---|
AlterAssembly | Gets an assembly event that can be included in the event set. | |
DropAssembly | Gets an assembly event that can be included in the event set. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Add | Returns an SQL assembly event set that is created by adding two SQL assembly events together. | |
BitwiseOr | Returns a SqlAssemblyEventSet as a result of a bitwise OR operation on two Sql Assembly Events. | |
Equals | Determines whether the referenced assembly event object is equal to a specified object. (remplace Object.Equals(Object).) | |
GetHashCode | This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (remplace Object.GetHashCode().) | |
GetType | (hérité de Object.) | |
ToString | Returns the referenced object in string format. (remplace Object.ToString().) |
Haut de la page
Opérateurs
Nom | Description | |
---|---|---|
Addition | Creates an assembly event set by performing an addition operation on two SqlAssemblyEvent objects. | |
BitwiseOr | Creates an assembly event set by performing a bitwise OR operation on two ServerEvent objects. | |
Equality | Creates an assembly event set by performing an equality operation on two SqlAssemblyEvent objects. | |
Implicit(SqlAssemblyEvent to SqlAssemblyEventSet) | Casts a single SqlAssemblyEvent as an SqlAssemblyEventSet. | |
Inequality | Creates an assembly event set by performing an inequality operation on two SqlAssemblyEvent objects. |
Haut de la page
Notes
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
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Exemples
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.