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