Prompts for and then creates a variable for a specified window and container. This method is a helper method for working with variables in a user interface.
命名空間: Microsoft.SqlServer.Dts.Runtime.Design
組件: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)
語法
'宣告
Function PromptAndCreateVariable ( _
parentWindow As IWin32Window, _
dtsContainer As DtsContainer, _
defaultName As String _
) As Variable
Variable PromptAndCreateVariable (
IWin32Window parentWindow,
DtsContainer dtsContainer,
string defaultName
)
Variable^ PromptAndCreateVariable (
IWin32Window^ parentWindow,
DtsContainer^ dtsContainer,
String^ defaultName
)
Variable PromptAndCreateVariable (
IWin32Window parentWindow,
DtsContainer dtsContainer,
String defaultName
)
function PromptAndCreateVariable (
parentWindow : IWin32Window,
dtsContainer : DtsContainer,
defaultName : String
) : Variable
參數
- parentWindow
The System.Windows.Forms.IWin32Window of the designer.
- dtsContainer
The default container that the variable belongs to.
- defaultName
The default name of the variable.
傳回值
A Variable.
執行緒安全性
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
IDtsVariableService Interface
IDtsVariableService Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace