SqlAssemblyEvent 类

The SqlAssemblyEvent object represents the SQL Server assembly events that can be included in an assembly event set.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo..::..SqlAssemblyEvent

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public NotInheritable Class SqlAssemblyEvent
用法
Dim instance As SqlAssemblyEvent
public sealed class SqlAssemblyEvent
public ref class SqlAssemblyEvent sealed
[<SealedAttribute>]
type SqlAssemblyEvent =  class end
public final class SqlAssemblyEvent

SqlAssemblyEvent 类型公开以下成员。

属性

  名称 说明
公共属性静态成员 AlterAssembly Gets an assembly event that can be included in the event set.
公共属性静态成员 DropAssembly Gets an assembly event that can be included in the event set.

页首

方法

  名称 说明
公共方法静态成员 Add Returns an SQL assembly event set that is created by adding two SQL assembly events together.
公共方法静态成员 BitwiseOr Returns a SqlAssemblyEventSet as a result of a bitwise OR operation on two Sql Assembly Events.
公共方法 Equals Determines whether the referenced assembly event object is equal to a specified object. (覆盖 Object. . :: . .Equals(Object)。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (覆盖 Object. . :: . .GetHashCode() () () ()。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString Returns the referenced object in string format. (覆盖 Object. . :: . .ToString() () () ()。)

页首

运算符

  名称 说明
公共运算符静态成员 Addition Creates an assembly event set by performing an addition operation on two SqlAssemblyEvent objects.
公共运算符静态成员 BitwiseOr Creates an assembly event set by performing a bitwise OR operation on two ServerEvent objects.
公共运算符静态成员 Equality Creates an assembly event set by performing an equality operation on two SqlAssemblyEvent objects.
公共运算符静态成员 Implicit Widening Implicit Implicit Implicit(SqlAssemblyEvent to SqlAssemblyEventSet) Casts a single SqlAssemblyEvent as an SqlAssemblyEventSet.
公共运算符静态成员 Inequality Creates an assembly event set by performing an inequality operation on two SqlAssemblyEvent objects.

页首

注释

The SqlAssemblyEvent object contains a property for each event to which assembly can respond. The actual set of events is specified using the SqlAssemblyEventSet object.

Thread Safety

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。