Share via


IDtsVariableService.PromptAndCreateVariable Method

Definition

Prompts for and then creates a new variable.

Overloads

PromptAndCreateVariable(IWin32Window, DtsContainer)

Prompts for and then creates a new variable.

PromptAndCreateVariable(IWin32Window, DtsContainer, String)

Prompts for and then creates a variable for a specified window and container. This method is a helper method for working with variables in a user interface.

PromptAndCreateVariable(IWin32Window, DtsContainer, String, String, Type)

Prompts for and creates a variable for the specified window, container, and namespace. This method is a helper method for working with variables in a user interface.

PromptAndCreateVariable(IWin32Window, DtsContainer)

Prompts for and then creates a new variable.

public:
 Microsoft::SqlServer::Dts::Runtime::Variable ^ PromptAndCreateVariable(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::DtsContainer ^ dtsContainer);
public Microsoft.SqlServer.Dts.Runtime.Variable PromptAndCreateVariable (System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.DtsContainer dtsContainer);
abstract member PromptAndCreateVariable : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.DtsContainer -> Microsoft.SqlServer.Dts.Runtime.Variable
Public Function PromptAndCreateVariable (parentWindow As IWin32Window, dtsContainer As DtsContainer) As Variable

Parameters

parentWindow
IWin32Window

The IWin32Window of the designer.

dtsContainer
DtsContainer

The default container that the variable belongs to.

Returns

A new Variable instance.

Applies to

PromptAndCreateVariable(IWin32Window, DtsContainer, String)

Prompts for and then creates a variable for a specified window and container. This method is a helper method for working with variables in a user interface.

public:
 Microsoft::SqlServer::Dts::Runtime::Variable ^ PromptAndCreateVariable(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::DtsContainer ^ dtsContainer, System::String ^ defaultName);
public Microsoft.SqlServer.Dts.Runtime.Variable PromptAndCreateVariable (System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.DtsContainer dtsContainer, string defaultName);
abstract member PromptAndCreateVariable : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.DtsContainer * string -> Microsoft.SqlServer.Dts.Runtime.Variable
Public Function PromptAndCreateVariable (parentWindow As IWin32Window, dtsContainer As DtsContainer, defaultName As String) As Variable

Parameters

parentWindow
IWin32Window

The IWin32Window of the designer.

dtsContainer
DtsContainer

The default container that the variable belongs to.

defaultName
String

The default name of the variable.

Returns

A new Variable instance.

Applies to

PromptAndCreateVariable(IWin32Window, DtsContainer, String, String, Type)

Prompts for and creates a variable for the specified window, container, and namespace. This method is a helper method for working with variables in a user interface.

public:
 Microsoft::SqlServer::Dts::Runtime::Variable ^ PromptAndCreateVariable(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::DtsContainer ^ dtsContainer, System::String ^ defaultName, System::String ^ defaultNamespace, Type ^ defaultType);
public Microsoft.SqlServer.Dts.Runtime.Variable PromptAndCreateVariable (System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.DtsContainer dtsContainer, string defaultName, string defaultNamespace, Type defaultType);
abstract member PromptAndCreateVariable : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.DtsContainer * string * string * Type -> Microsoft.SqlServer.Dts.Runtime.Variable
Public Function PromptAndCreateVariable (parentWindow As IWin32Window, dtsContainer As DtsContainer, defaultName As String, defaultNamespace As String, defaultType As Type) As Variable

Parameters

parentWindow
IWin32Window

The IWin32Window of the designer.

dtsContainer
DtsContainer

The default container that the variable belongs to.

defaultName
String

The default name of the variable.

defaultNamespace
String

The default namespace that the variable will belong in.

defaultType
Type

The default type of the variable.

Returns

A new Variable instance.

Applies to