DTSParamValueCollection.Contains Method

Indicates whether the items in a collection can be accessed by using indexing without throwing an exception.

命名空间: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
程序集: Microsoft.SqlServer.WebServiceTask (in microsoft.sqlserver.webservicetask.dll)

语法

声明
Public Function Contains ( _
    paramValue As DTSParamValue _
) As Boolean
public bool Contains (
    DTSParamValue paramValue
)
public:
bool Contains (
    DTSParamValue^ paramValue
)
public boolean Contains (
    DTSParamValue paramValue
)
public function Contains (
    paramValue : DTSParamValue
) : boolean

参数

  • paramValue
    The name, identity, ID, or index of the DTSParamValue object to locate in the collection.

返回值

true if the collection can be accessed by using the syntax DTSParamValueCollection [index]; false if indexing cannot be used to retrieve items from the collection.

线程安全

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 的硬件和软件要求。

请参阅

参考

DTSParamValueCollection Class
DTSParamValueCollection Members
Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace