次の方法で共有


IDtsVariableService.PromptAndCreateVariable メソッド (IWin32Window, DtsContainer, String)

プロンプトを表示し、指定したウィンドウとコンテナーに対する変数を作成します。 このメソッドは、ユーザー インターフェイスの変数に関する処理を行うヘルパー メソッドです。

名前空間:  Microsoft.SqlServer.Dts.Runtime.Design
アセンブリ:  Microsoft.SqlServer.Dts.Design (Microsoft.SqlServer.Dts.Design.dll)

構文

'宣言
Function PromptAndCreateVariable ( _
    parentWindow As IWin32Window, _
    dtsContainer As DtsContainer, _
    defaultName As String _
) As Variable
'使用
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

パラメーター

  • defaultName
    型: System.String
    変数の既定の名前です。

戻り値

型: Microsoft.SqlServer.Dts.Runtime.Variable
Variable の新しいインスタンスです。

関連項目

参照

IDtsVariableService インターフェイス

PromptAndCreateVariable オーバーロード

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