SqlAssemblyEvent SqlAssemblyEvent SqlAssemblyEvent Class

Definition

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

public ref class SqlAssemblyEvent sealed
public sealed class SqlAssemblyEvent
Public NotInheritable Class SqlAssemblyEvent
Inheritance
SqlAssemblyEventSqlAssemblyEventSqlAssemblyEvent

Examples

Handling SMO Events

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.

Properties

AlterAssembly AlterAssembly AlterAssembly

Gets an assembly event that can be included in the event set.

DropAssembly DropAssembly DropAssembly

Gets an assembly event that can be included in the event set.

Methods

Add(SqlAssemblyEvent, SqlAssemblyEvent) Add(SqlAssemblyEvent, SqlAssemblyEvent) Add(SqlAssemblyEvent, SqlAssemblyEvent)

Returns an SQL assembly event set that is created by adding two SQL assembly events together.

BitwiseOr(SqlAssemblyEvent, SqlAssemblyEvent) BitwiseOr(SqlAssemblyEvent, SqlAssemblyEvent) BitwiseOr(SqlAssemblyEvent, SqlAssemblyEvent)

Returns a SqlAssemblyEventSet as a result of a bitwise OR operation on two Sql Assembly Events.

Equals(Object) Equals(Object) Equals(Object)

Determines whether the referenced assembly event object is equal to a specified object.

GetHashCode() GetHashCode() GetHashCode()

This method supports the SQL Server infrastructure and is not intended to be used directly from your code.

ToString() ToString() ToString()

Returns the referenced object in string format.

Operators

Addition(SqlAssemblyEvent, SqlAssemblyEvent) Addition(SqlAssemblyEvent, SqlAssemblyEvent) Addition(SqlAssemblyEvent, SqlAssemblyEvent)

Creates an assembly event set by performing an addition operation on two SqlAssemblyEvent objects.

BitwiseOr(SqlAssemblyEvent, SqlAssemblyEvent) BitwiseOr(SqlAssemblyEvent, SqlAssemblyEvent) BitwiseOr(SqlAssemblyEvent, SqlAssemblyEvent)

Creates an assembly event set by performing a bitwise OR operation on two ServerEvent objects.

Equality(SqlAssemblyEvent, SqlAssemblyEvent) Equality(SqlAssemblyEvent, SqlAssemblyEvent) Equality(SqlAssemblyEvent, SqlAssemblyEvent)

Creates an assembly event set by performing an equality operation on two SqlAssemblyEvent objects.

Implicit(SqlAssemblyEvent to SqlAssemblyEventSet) Implicit(SqlAssemblyEvent to SqlAssemblyEventSet) Implicit(SqlAssemblyEvent to SqlAssemblyEventSet)

Casts a single SqlAssemblyEvent as an SqlAssemblyEventSet.

Inequality(SqlAssemblyEvent, SqlAssemblyEvent) Inequality(SqlAssemblyEvent, SqlAssemblyEvent) Inequality(SqlAssemblyEvent, SqlAssemblyEvent)

Creates an assembly event set by performing an inequality operation on two SqlAssemblyEvent objects.

Applies to