IDtsVariableService.PromptAndCreateVariable Method (IWin32Window, DtsContainer)

Creates a new variable.

Namespace: Microsoft.SqlServer.Dts.Runtime.Design
Assembly: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

Syntax

'Declaration
Function PromptAndCreateVariable ( _
    parentWindow As IWin32Window, _
    dtsContainer As DtsContainer _
) As Variable
Variable PromptAndCreateVariable (
    IWin32Window parentWindow,
    DtsContainer dtsContainer
)
Variable^ PromptAndCreateVariable (
    IWin32Window^ parentWindow, 
    DtsContainer^ dtsContainer
)
Variable PromptAndCreateVariable (
    IWin32Window parentWindow, 
    DtsContainer dtsContainer
)
function PromptAndCreateVariable (
    parentWindow : IWin32Window, 
    dtsContainer : DtsContainer
) : Variable

Parameters

  • parentWindow
    The System.Windows.Forms.IWin32Window of the designer.
  • dtsContainer
    The default container that the variable belongs to.

Return Value

A Variable.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDtsVariableService Interface
IDtsVariableService Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace