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 value whether the ObjectEvent is equal to the specified object. (覆寫 Object.Equals(Object)。) | |
GetHashCode | This method supports the SMO infrastructure and is not intended to be used directly from your code. (覆寫 Object.GetHashCode()。) | |
GetType | (繼承自 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(ObjectEvent to ObjectEventSet) | :Microsoft.SqlServer.Management.Smo.ObjectEventSetCreates a new object event set 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
此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。
範例
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。