Compartilhar via


Método IDtsVariableService.PromptAndCreateVariable (IWin32Window, DtsContainer)

Prompts for and then creates a new variable.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Design
Assembly:  Microsoft.SqlServer.Dts.Design (em Microsoft.SqlServer.Dts.Design.dll)

Sintaxe

'Declaração
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

Valor de retorno

Tipo: Microsoft.SqlServer.Dts.Runtime.Variable
A new Variable instance.

Consulte também

Referência

IDtsVariableService Interface

Sobrecarregado PromptAndCreateVariable

Namespace Microsoft.SqlServer.Dts.Runtime.Design