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
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
示例
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。