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.