IDtsVariableService.PromptAndCreateVariable Método (IWin32Window, DtsContainer)
Prompts for and then creates a new variable.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Design
Ensamblado: Microsoft.SqlServer.Dts.Design (en Microsoft.SqlServer.Dts.Design.dll)
Sintaxis
'Declaración
Function PromptAndCreateVariable ( _
parentWindow As IWin32Window, _
dtsContainer As DtsContainer _
) As Variable
'Uso
Dim instance As IDtsVariableService
Dim parentWindow As IWin32Window
Dim dtsContainer As DtsContainer
Dim returnValue As Variable
returnValue = instance.PromptAndCreateVariable(parentWindow, _
dtsContainer)
Variable PromptAndCreateVariable(
IWin32Window parentWindow,
DtsContainer dtsContainer
)
Variable^ PromptAndCreateVariable(
IWin32Window^ parentWindow,
DtsContainer^ dtsContainer
)
abstract PromptAndCreateVariable :
parentWindow:IWin32Window *
dtsContainer:DtsContainer -> Variable
function PromptAndCreateVariable(
parentWindow : IWin32Window,
dtsContainer : DtsContainer
) : Variable
Parámetros
- parentWindow
Tipo: System.Windows.Forms.IWin32Window
The IWin32Window of the designer.
- dtsContainer
Tipo: Microsoft.SqlServer.Dts.Runtime.DtsContainer
The default container that the variable belongs to.
Valor devuelto
Tipo: Microsoft.SqlServer.Dts.Runtime.Variable
A new Variable instance.