Parameters.Contains 方法

Determines whether a parameter object with the specified name is contained in the parameters collection.

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public MustOverride Function Contains ( _
    parameterName As String _
) As Boolean
用法
Dim instance As Parameters 
Dim parameterName As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(parameterName)
public abstract bool Contains(
    string parameterName
)
public:
virtual bool Contains(
    String^ parameterName
) abstract
abstract Contains : 
        parameterName:string -> bool
public abstract function Contains(
    parameterName : String
) : boolean

参数

  • parameterName
    类型:System.String
    The name of the parameter.

返回值

类型:System.Boolean
true if a parameter object with the specified name is contained in the parameters collection; otherwise, false.

请参阅

参考

Parameters 类

Microsoft.SqlServer.Dts.Runtime 命名空间