Класс StoredProcedureEvent
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
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public NotInheritable Class StoredProcedureEvent
'Применение
Dim instance As StoredProcedureEvent
public sealed class StoredProcedureEvent
public ref class StoredProcedureEvent sealed
[<SealedAttribute>]
type StoredProcedureEvent = class end
public final class StoredProcedureEvent
Тип StoredProcedureEvent обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
AlterProcedure | Gets a stored procedure event that can be included in the event set. | |
DropProcedure | Gets a stored procedure event that can be included in the event set. |
В начало
Методы
Имя | Описание | |
---|---|---|
Add | Returns the stored procedure event set that is created when two stored procedure events are added together. | |
BitwiseOr | Creates a Stored Procedure Event Set by combining two Stored Procedure Events by using a Bitwise OR. | |
Equals | Determines whether the referenced stored procedure event object is equal to the specified object. (Переопределяет Object.Equals(Object).) | |
GetHashCode | This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Переопределяет Object.GetHashCode().) | |
GetType | (Производный от Object.) | |
ToString | Returns the referenced object in string format. (Переопределяет Object.ToString().) |
В начало
Операторы
Имя | Описание | |
---|---|---|
Addition | Creates a stored procedure event set by performing an addition operation on two StoredProcedureEvent objects. | |
BitwiseOr | Creates a stored procedure event set by performing a bitwise OR operation on two StoredProcedureEvent objects. | |
Equality | Creates a stored procedure event set by performing an equality operation on two StoredProcedureEvent objects. | |
Implicit(StoredProcedureEvent to StoredProcedureEventSet) | Casts a single Stored Procedure Event as a Stored Procedure Event Set. | |
Inequality | Creates a stored procedure event set by performing an inequality operation on two StoredProcedureEvent objects. |
В начало
Замечания
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
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.
Примеры
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.