语言

IDtsVariableService.PromptAndCreateVariable 方法

定义

提示,然后创建一个新变量。

重载

名称 说明
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 实例。

适用于