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 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。
範例
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。