共用方式為


IDtsVariableService.PromptAndCreateVariable 方法 (IWin32Window, DtsContainer)

Prompts for and then creates a new variable.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Design
組件:  Microsoft.SqlServer.Dts.Design (在 Microsoft.SqlServer.Dts.Design.dll 中)

語法

'宣告
Function PromptAndCreateVariable ( _
    parentWindow As IWin32Window, _
    dtsContainer As DtsContainer _
) As Variable
'用途
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

參數

傳回值

型別:Microsoft.SqlServer.Dts.Runtime.Variable
A new Variable instance.

請參閱

參考

IDtsVariableService 介面

PromptAndCreateVariable 多載

Microsoft.SqlServer.Dts.Runtime.Design 命名空間