Partager via


PromptAndCreateVariable méthode (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.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Design
Assembly :  Microsoft.SqlServer.Dts.Design (dans Microsoft.SqlServer.Dts.Design.dll)

Syntaxe

'Déclaration
Function PromptAndCreateVariable ( _
    parentWindow As IWin32Window, _
    dtsContainer As DtsContainer, _
    defaultName As String _
) As Variable
'Utilisation
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

Paramètres