Класс 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).) | |
Finalize | (Производный от Object.) | |
GetHashCode | This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Переопределяет Object. . :: . .GetHashCode() () () ().) | |
GetType | (Производный от Object.) | |
MemberwiseClone | (Производный от 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 Widening Implicit Implicit 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) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.