StoredProcedureEvent StoredProcedureEvent StoredProcedureEvent Class

Definition

The StoredProcedureEvent object represents the SQL Server stored procedure events that can be included in an stored procedure event set.

public ref class StoredProcedureEvent sealed
public sealed class StoredProcedureEvent
Public NotInheritable Class StoredProcedureEvent
Inheritance
StoredProcedureEventStoredProcedureEventStoredProcedureEvent

Examples

Handling SMO Events

Remarks

The StoredProcedureEvent object contains a property for each event to which stored procedure can respond. The actual set of events is specified using the StoredProcedureEventSet 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

AlterProcedure AlterProcedure AlterProcedure

Gets a stored procedure event that can be included in the event set.

DropProcedure DropProcedure DropProcedure

Gets a stored procedure event that can be included in the event set.

Methods

Add(StoredProcedureEvent, StoredProcedureEvent) Add(StoredProcedureEvent, StoredProcedureEvent) Add(StoredProcedureEvent, StoredProcedureEvent)

Returns the stored procedure event set that is created when two stored procedure events are added together.

BitwiseOr(StoredProcedureEvent, StoredProcedureEvent) BitwiseOr(StoredProcedureEvent, StoredProcedureEvent) BitwiseOr(StoredProcedureEvent, StoredProcedureEvent)

Creates a Stored Procedure Event Set by combining two Stored Procedure Events by using a Bitwise OR.

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

Determines whether the referenced stored procedure event object is equal to the 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(StoredProcedureEvent, StoredProcedureEvent) Addition(StoredProcedureEvent, StoredProcedureEvent) Addition(StoredProcedureEvent, StoredProcedureEvent)

Creates a stored procedure event set by performing an addition operation on two StoredProcedureEvent objects.

BitwiseOr(StoredProcedureEvent, StoredProcedureEvent) BitwiseOr(StoredProcedureEvent, StoredProcedureEvent) BitwiseOr(StoredProcedureEvent, StoredProcedureEvent)

Creates a stored procedure event set by performing a bitwise OR operation on two StoredProcedureEvent objects.

Equality(StoredProcedureEvent, StoredProcedureEvent) Equality(StoredProcedureEvent, StoredProcedureEvent) Equality(StoredProcedureEvent, StoredProcedureEvent)

Creates a stored procedure event set by performing an equality operation on two StoredProcedureEvent objects.

Implicit(StoredProcedureEvent to StoredProcedureEventSet) Implicit(StoredProcedureEvent to StoredProcedureEventSet) Implicit(StoredProcedureEvent to StoredProcedureEventSet)

Casts a single Stored Procedure Event as a Stored Procedure Event Set.

Inequality(StoredProcedureEvent, StoredProcedureEvent) Inequality(StoredProcedureEvent, StoredProcedureEvent) Inequality(StoredProcedureEvent, StoredProcedureEvent)

Creates a stored procedure event set by performing an inequality operation on two StoredProcedureEvent objects.

Applies to