EventInfos.Item Property

Returns the EventInfo object from the collection.

命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

语法

声明
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)

参数

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

属性值

An EventInfo object.

备注

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.

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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