共用方式為


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 Boolean indicating if ObjectEvent equals a Object (覆寫 Object. . :: . .Equals(Object)。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode This method supports the SMO infrastructure and is not intended to be used directly from your code. (覆寫 Object. . :: . .GetHashCode() () () ()。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 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 Widening Implicit Implicit Implicit(ObjectEvent to ObjectEventSet) Creates a new [:Microsoft.SqlServer.Management.Smo.ObjectEventSet] 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。