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