مشاركة عبر


EventInfo Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public NotInheritable Class EventInfo _
    Inherits DtsObject _
    Implements IDTSName
'Usage
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

The EventInfo type exposes the following members.

Properties

  Name Description
Public property AllowEventHandlers Returns a Boolean that indicates if the development tool, SQL Server Data Tools (SSDT), will allow event handlers to be created in the package. This property applies to custom events created for a custom task.
Public property 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.
Public property Description Gets or sets the description for the EventInfo.
Public property ID The GUID assigned to the EventInfo. This field is read-only.
Public property Name Gets or sets the name for the EventInfo.
Public property ParameterCount Returns the number of parameters being passed to the EventInfo.
Public property ParameterDescriptions Returns the description given to the parameter located in the specified position in the array. This field is read-only.
Public property ParameterNames Returns the name given to the parameter located in the specified position in the array. This field is read-only.
Public property ParameterTypes Returns the data type given to the parameter located in the specified position in the array. This field is read-only.

Top

Methods

  Name Description
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime Namespace