Поделиться через


Класс ViewEvent

The ViewEvent object represents the SQL Server view events that can be included in a view event set.

Иерархия наследования

System.Object
  Microsoft.SqlServer.Management.Smo.ViewEvent

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public NotInheritable Class ViewEvent
'Применение
Dim instance As ViewEvent
public sealed class ViewEvent
public ref class ViewEvent sealed
[<SealedAttribute>]
type ViewEvent =  class end
public final class ViewEvent

Тип ViewEvent обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойствоСтатический элемент AlterFulltextIndex Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент AlterIndex Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент AlterView Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент CreateFulltextIndex Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент CreateIndex Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSpatialIndex Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент CreateStatistics Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент CreateXmlIndex Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент DropFulltextIndex Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент DropIndex Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент DropStatistics Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент DropView Gets a view event that can be included in the event set.
Открытое свойствоСтатический элемент UpdateStatistics Gets a view event that can be included in the event set.

В начало

Методы

  Имя Описание
Открытый методСтатический элемент Add Adds two view events to the event set.
Открытый методСтатический элемент BitwiseOr Creates a view event set by combining two view events using a bitwise OR.
Открытый метод Equals Determines whether the referenced view 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 view event set by performing an addition operation on two ViewEvent objects.
Открытый операторСтатический элемент BitwiseOr Creates a view event set by performing a bitwise OR operation on two ViewEvent objects.
Открытый операторСтатический элемент Equality Creates a view event set by performing an equality operation on two ViewEvent objects.
Открытый операторСтатический элемент Implicit(ViewEvent to ViewEventSet) Casts a single view event as a view event set.
Открытый операторСтатический элемент Inequality Creates a view event set by performing an inequality operation on two ViewEvent objects.

В начало

Замечания

The ViewEvent object contains a property for each event to which the view can respond. The actual set of events is specified using the ViewEventSet object.

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.

Примеры

Обработка событий SMO

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo