Udostępnij za pośrednictwem


Metoda IDtsVariableService.PromptAndCreateVariable (IWin32Window, DtsContainer, String)

Monituje o, a następnie tworzy zmienną określonego okna i kontener.Ta metoda jest metody pomocnika do pracy z zmiennych w interfejs użytkownika.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Runtime.Design
Zestaw:  Microsoft.SqlServer.Dts.Design (w Microsoft.SqlServer.Dts.Design.dll)

Składnia

'Deklaracja
Function PromptAndCreateVariable ( _
    parentWindow As IWin32Window, _
    dtsContainer As DtsContainer, _
    defaultName As String _
) As Variable
'Użycie
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

Parametry