Parameters.Add 메서드
Adds a parameter object to the parameters collection with the specified name and data type.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)
구문
‘선언
Public MustOverride Function Add ( _
parameterName As String, _
dataType As TypeCode _
) As Parameter
‘사용 방법
Dim instance As Parameters
Dim parameterName As String
Dim dataType As TypeCode
Dim returnValue As Parameter
returnValue = instance.Add(parameterName, _
dataType)
public abstract Parameter Add(
string parameterName,
TypeCode dataType
)
public:
virtual Parameter^ Add(
String^ parameterName,
TypeCode dataType
) abstract
abstract Add :
parameterName:string *
dataType:TypeCode -> Parameter
public abstract function Add(
parameterName : String,
dataType : TypeCode
) : Parameter
매개 변수
- parameterName
유형: System.String
The name of the parameter.
- dataType
유형: System.TypeCode
The data type of the parameter.
반환 값
유형: Microsoft.SqlServer.Dts.Runtime.Parameter
A newly added parameter object.