Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
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, _
defaultName As String _
) As Variable
'Usage
Dim instance As IDtsVariableService
Dim parentWindow As IWin32Window
Dim dtsContainer As DtsContainer
Dim defaultName As String
Dim returnValue As Variable
returnValue = instance.PromptAndCreateVariable(parentWindow, _
dtsContainer, defaultName)
Variable PromptAndCreateVariable(
IWin32Window parentWindow,
DtsContainer dtsContainer,
string defaultName
)
Variable^ PromptAndCreateVariable(
IWin32Window^ parentWindow,
DtsContainer^ dtsContainer,
String^ defaultName
)
abstract PromptAndCreateVariable :
parentWindow:IWin32Window *
dtsContainer:DtsContainer *
defaultName:string -> Variable
function PromptAndCreateVariable(
parentWindow : IWin32Window,
dtsContainer : DtsContainer,
defaultName : String
) : Variable
Parameters
- parentWindow
Type: System.Windows.Forms.IWin32Window
The IWin32Window of the designer.
- dtsContainer
Type: Microsoft.SqlServer.Dts.Runtime.DtsContainer
The default container that the variable belongs to.
- defaultName
Type: System.String
The default name of the variable.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.Variable
A new Variable instance.