Share via


VariableCreatorClass.CreateVariable Method

Creates a variable with the specified parameter.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Function CreateVariable ( _
    pParameter As IDTSParameter100 _
) As IDTSVariable100
'Usage
Dim instance As VariableCreatorClass 
Dim pParameter As IDTSParameter100 
Dim returnValue As IDTSVariable100 

returnValue = instance.CreateVariable(pParameter)
public virtual IDTSVariable100 CreateVariable(
    IDTSParameter100 pParameter
)
public:
virtual IDTSVariable100^ CreateVariable(
    [InAttribute] IDTSParameter100^ pParameter
)
abstract CreateVariable : 
        pParameter:IDTSParameter100 -> IDTSVariable100  
override CreateVariable : 
        pParameter:IDTSParameter100 -> IDTSVariable100
public function CreateVariable(
    pParameter : IDTSParameter100
) : IDTSVariable100

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
The newly created IDTSVariable100 variable.

Implements

IDTSVariableCreator100.CreateVariable(IDTSParameter100)

See Also

Reference

VariableCreatorClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace