Класс ObjectEvent
The ObjectEvent object represents the of SQL Server object events that can be included in an object event set.
Иерархия наследования
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..ObjectEvent
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public NotInheritable Class ObjectEvent
'Применение
Dim instance As ObjectEvent
public sealed class ObjectEvent
public ref class ObjectEvent sealed
[<SealedAttribute>]
type ObjectEvent = class end
public final class ObjectEvent
Тип ObjectEvent обеспечивает доступ к следующим элементам.
Свойства
| Имя | Описание | |
|---|---|---|
![]() ![]() |
Alter | Gets an object event that can be included in the event set. |
![]() ![]() |
Drop | Gets an object event that can be included in the event set. |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() ![]() |
Add | Returns the object event set that is created by adding two object events. |
![]() ![]() |
BitwiseOr | Creates a new object event set by performing a BitwiseOr operation on two ObjectEvent objects |
![]() |
Equals | Returns a Boolean indicating if ObjectEvent equals a Object (Переопределяет Object. . :: . .Equals(Object).) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Переопределяет Object. . :: . .GetHashCode() () () ().) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | Overrides ToString method in a ObjectEvent object. (Переопределяет Object. . :: . .ToString() () () ().) |
В начало
Операторы
| Имя | Описание | |
|---|---|---|
![]() ![]() |
Addition | Creates a object event set by performing an addition operation on two ObjectEvent objects. |
![]() ![]() |
BitwiseOr | Creates an object event set by performing a bitwise OR operation on two ObjectEvent objects. |
![]() ![]() |
Equality | Creates a object event set by performing an equality operation on two ObjectEvent objects. |
![]() ![]() |
Implicit Widening Implicit Implicit Implicit(ObjectEvent to ObjectEventSet) | Creates a new [:Microsoft.SqlServer.Management.Smo.ObjectEventSet] by implicitly converting a ObjectEvent. |
![]() ![]() |
Inequality | Creates an object event set by performing an inequality operation on two ObjectEvent objects. |
В начало
Замечания
The ObjectEvent object contains a property for each event to which the object can respond. The actual set of events is specified using the ObjectEventSet object.
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)
.gif)
.gif)