語言

IDtsVariableService.PromptAndCreateVariable 方法

定義

提示並建立一個新變數。

多載

名稱 Description
PromptAndCreateVariable(IWin32Window, DtsContainer)

提示並建立一個新變數。

PromptAndCreateVariable(IWin32Window, DtsContainer, String)

會提示並建立一個變數,針對指定的視窗和容器。 此方法是一種輔助方法,用於使用者介面中處理變數。

PromptAndCreateVariable(IWin32Window, DtsContainer, String, String, Type)

會提示並為指定的視窗、容器和命名空間建立變數。 此方法是一種輔助方法,用於使用者介面中處理變數。

PromptAndCreateVariable(IWin32Window, DtsContainer)

提示並建立一個新變數。

public:
 Microsoft::SqlServer::Dts::Runtime::Variable ^ PromptAndCreateVariable(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::DtsContainer ^ dtsContainer);
public Microsoft.SqlServer.Dts.Runtime.Variable PromptAndCreateVariable(System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.DtsContainer dtsContainer);
abstract member PromptAndCreateVariable : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.DtsContainer -> Microsoft.SqlServer.Dts.Runtime.Variable
Public Function PromptAndCreateVariable (parentWindow As IWin32Window, dtsContainer As DtsContainer) As Variable

參數

parentWindow
IWin32Window

設計師的。IWin32Window

dtsContainer
DtsContainer

變數所屬的預設容器。

傳回

一個新的 Variable 實例。

適用於

PromptAndCreateVariable(IWin32Window, DtsContainer, String)

會提示並建立一個變數,針對指定的視窗和容器。 此方法是一種輔助方法,用於使用者介面中處理變數。

public:
 Microsoft::SqlServer::Dts::Runtime::Variable ^ PromptAndCreateVariable(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::DtsContainer ^ dtsContainer, System::String ^ defaultName);
public Microsoft.SqlServer.Dts.Runtime.Variable PromptAndCreateVariable(System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.DtsContainer dtsContainer, string defaultName);
abstract member PromptAndCreateVariable : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.DtsContainer * string -> Microsoft.SqlServer.Dts.Runtime.Variable
Public Function PromptAndCreateVariable (parentWindow As IWin32Window, dtsContainer As DtsContainer, defaultName As String) As Variable

參數

parentWindow
IWin32Window

設計師的。IWin32Window

dtsContainer
DtsContainer

變數所屬的預設容器。

defaultName
String

變數的預設名稱。

傳回

一個新的 Variable 實例。

適用於

PromptAndCreateVariable(IWin32Window, DtsContainer, String, String, Type)

會提示並為指定的視窗、容器和命名空間建立變數。 此方法是一種輔助方法,用於使用者介面中處理變數。

public:
 Microsoft::SqlServer::Dts::Runtime::Variable ^ PromptAndCreateVariable(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::DtsContainer ^ dtsContainer, System::String ^ defaultName, System::String ^ defaultNamespace, Type ^ defaultType);
public Microsoft.SqlServer.Dts.Runtime.Variable PromptAndCreateVariable(System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.DtsContainer dtsContainer, string defaultName, string defaultNamespace, Type defaultType);
abstract member PromptAndCreateVariable : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.DtsContainer * string * string * Type -> Microsoft.SqlServer.Dts.Runtime.Variable
Public Function PromptAndCreateVariable (parentWindow As IWin32Window, dtsContainer As DtsContainer, defaultName As String, defaultNamespace As String, defaultType As Type) As Variable

參數

parentWindow
IWin32Window

設計師的。IWin32Window

dtsContainer
DtsContainer

變數所屬的預設容器。

defaultName
String

變數的預設名稱。

defaultNamespace
String

變數所屬的預設命名空間。

defaultType
Type

變數的預設類型。

傳回

一個新的 Variable 實例。

適用於