EventInfos.Contains Method
Returns a Boolean that indicates whether the items in the collection can be accessed using the name, description, ID, or index as the index.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
Syntax
'Declaration
Public Function Contains ( _
index As Object _
) As Boolean
public bool Contains (
Object index
)
public:
bool Contains (
Object^ index
)
public boolean Contains (
Object index
)
public function Contains (
index : Object
) : boolean
Parameters
- index
The name, description, ID, or index of the EventInfo object.
Remarks
A Boolean that indicates whether the collection can be accessed by name, description, ID, or index. A value of true indicates that the collection can be accessed using the syntax EventInfos[index]
. A value of false indicates that indexing cannot be used to retrieve items from the EventInfos collection.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
EventInfos Class
EventInfos Members
Microsoft.SqlServer.Dts.Runtime Namespace