Export (0) Print
Expand All

StoredProcedureEvent Class

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

System.Object
  Microsoft.SqlServer.Management.Smo.StoredProcedureEvent

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

public sealed class StoredProcedureEvent

The StoredProcedureEvent type exposes the following members.

  NameDescription
Public propertyStatic memberAlterProcedureGets a stored procedure event that can be included in the event set.
Public propertyStatic memberDropProcedureGets a stored procedure event that can be included in the event set.
Top

  NameDescription
Public methodStatic memberAddReturns the stored procedure event set that is created when two stored procedure events are added together.
Public methodStatic memberBitwiseOrCreates a Stored Procedure Event Set by combining two Stored Procedure Events by using a Bitwise OR.
Public methodEqualsDetermines whether the referenced stored procedure event object is equal to the specified object. (Overrides Object.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeThis method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns the referenced object in string format. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberAdditionCreates a stored procedure event set by performing an addition operation on two StoredProcedureEvent objects.
Public operatorStatic memberBitwiseOrCreates a stored procedure event set by performing a bitwise OR operation on two StoredProcedureEvent objects.
Public operatorStatic memberEqualityCreates a stored procedure event set by performing an equality operation on two StoredProcedureEvent objects.
Public operatorStatic memberImplicit(StoredProcedureEvent to StoredProcedureEventSet)Casts a single Stored Procedure Event as a Stored Procedure Event Set.
Public operatorStatic memberInequalityCreates a stored procedure event set by performing an inequality operation on two StoredProcedureEvent objects.
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft