Share via


PkgVariable Constructor

Initializes a new instance of PkgVariable.

Namespace:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly:  Microsoft.SqlServer.Exec80PackageTask (in Microsoft.SqlServer.Exec80PackageTask.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    datatype As String, _
    val As Object _
)
'Usage
Dim name As String
Dim datatype As String
Dim val As Object

Dim instance As New PkgVariable(name, datatype, _
    val)
public PkgVariable(
    string name,
    string datatype,
    Object val
)
public:
PkgVariable(
    String^ name, 
    String^ datatype, 
    Object^ val
)
new : 
        name:string * 
        datatype:string * 
        val:Object -> PkgVariable
public function PkgVariable(
    name : String, 
    datatype : String, 
    val : Object
)

Parameters

  • name
    Type: System.String
    The name of the inner or outer variable.
  • datatype
    Type: System.String
    The data type of the inner or outer variable.
  • val
    Type: System.Object
    The value of the inner or outer variable.