EventInfo 类

Contains information about an event. This class cannot be inherited.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..EventInfo

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public NotInheritable Class EventInfo _
    Inherits DtsObject _
    Implements IDTSName
用法
Dim instance As EventInfo
public sealed class EventInfo : DtsObject, 
    IDTSName
public ref class EventInfo sealed : public DtsObject, 
    IDTSName
[<SealedAttribute>]
type EventInfo =  
    class
        inherit DtsObject
        interface IDTSName
    end
public final class EventInfo extends DtsObject implements IDTSName

EventInfo 类型公开以下成员。

属性

  名称 说明
公共属性 AllowEventHandlers Returns a Boolean that indicates if the development tool, Business Intelligence Development Studio, will allow event handlers to be created in the package. This property applies to custom events created for a custom task.
公共属性 CreationName Returns the string that is used by the Integration Services runtime to create an instance of the EventInfo object and to add the object to the EventInfos collection. This property is read-only.
公共属性 Description Gets or sets the description for the EventInfo.
公共属性 ID The GUID assigned to the EventInfo. This field is read-only.
公共属性 Name Gets or sets the name for the EventInfo.
公共属性 ParameterCount Returns the number of parameters being passed to the EventInfo.
公共属性 ParameterDescriptions Returns the description given to the parameter located in the specified position in the array. This field is read-only.
公共属性 ParameterNames Returns the name given to the parameter located in the specified position in the array. This field is read-only.
公共属性 ParameterTypes Returns the data type given to the parameter located in the specified position in the array. This field is read-only.

页首

方法

  名称 说明
公共方法 Equals Determines whether two object instances are equal. (从 DtsObject 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

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