Compartir a través de


EventInfos.Item Property

Returns the EventInfo object from the collection.

Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Sintaxis

'Declaración
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)

Parámetros

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

Valor de propiedad

An EventInfo object.

Notas

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.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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