Freigeben über


EventInfos.Item Property

Returns the EventInfo object from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Object _
) As EventInfo
public EventInfo this [
    Object index
] { get; }
public:
property EventInfo^ default [Object^] {
    EventInfo^ get (Object^ index);
}
/** @property */
public EventInfo get_Item (Object index)

Parameter

  • index
    The name, description, ID, or index of the EventInfo object to return.

Eigenschaftswert

An EventInfo object.

Hinweise

If the call to Contains method returns true, you can access the specified element in the collection by using the syntax EventInfos[index]. If the Contains returns false, this property throws an exception. In C#, this property is the indexer for the EventInfos class.

Threadsicherheit

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

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

EventInfos Class
EventInfos Members
Microsoft.SqlServer.Dts.Runtime Namespace