共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。