SqlAssemblyEvent Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

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

The SqlAssemblyEvent type exposes the following members.

Properties

  Name Description
Public propertyStatic member AlterAssembly Gets an assembly event that can be included in the event set.
Public propertyStatic member DropAssembly Gets an assembly event that can be included in the event set.

Top

Methods

  Name Description
Public methodStatic member Add Returns an SQL assembly event set that is created by adding two SQL assembly events together.
Public methodStatic member BitwiseOr Returns a SqlAssemblyEventSet as a result of a bitwise OR operation on two Sql Assembly Events.
Public method Equals Determines whether the referenced assembly event object is equal to a specified object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the referenced object in string format. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Addition Creates an assembly event set by performing an addition operation on two SqlAssemblyEvent objects.
Public operatorStatic member BitwiseOr Creates an assembly event set by performing a bitwise OR operation on two ServerEvent objects.
Public operatorStatic member Equality Creates an assembly event set by performing an equality operation on two SqlAssemblyEvent objects.
Public operatorStatic member Implicit(SqlAssemblyEvent to SqlAssemblyEventSet) Casts a single SqlAssemblyEvent as an SqlAssemblyEventSet.
Public operatorStatic member Inequality Creates an assembly event set by performing an inequality operation on two SqlAssemblyEvent objects.

Top

Remarks

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

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.