Add 方法
Creates and adds a PkgVariable to the end of the collection.
命名空間: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
組件: Microsoft.SqlServer.Exec80PackageTask (在 Microsoft.SqlServer.Exec80PackageTask.dll 中)
語法
'宣告
Public Function Add ( _
name As String, _
datatype As String, _
val As Object _
) As PkgVariable
'用途
Dim instance As VariablesCollection
Dim name As String
Dim datatype As String
Dim val As Object
Dim returnValue As PkgVariable
returnValue = instance.Add(name, datatype, _
val)
public PkgVariable Add(
string name,
string datatype,
Object val
)
public:
PkgVariable^ Add(
String^ name,
String^ datatype,
Object^ val
)
member Add :
name:string *
datatype:string *
val:Object -> PkgVariable
public function Add(
name : String,
datatype : String,
val : Object
) : PkgVariable
參數
- name
型別:System. . :: . .String
The name of the PkgVariable to be added.
- datatype
型別:System. . :: . .String
The data type of the PkgVariable to be added.
- val
型別:System. . :: . .Object
The value of the PkgVariable to be added.