Metodo PromptAndCreateVariable (IWin32Window, DtsContainer, String, String, Type)
Prompts for and creates a variable for the specified window, container, and namespace. This method is a helper method for working with variables in a user interface.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Design
Assembly: Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)
Sintassi
'Dichiarazione
Function PromptAndCreateVariable ( _
parentWindow As IWin32Window, _
dtsContainer As DtsContainer, _
defaultName As String, _
defaultNamespace As String, _
defaultType As Type _
) As Variable
'Utilizzo
Dim instance As IDtsVariableService
Dim parentWindow As IWin32Window
Dim dtsContainer As DtsContainer
Dim defaultName As String
Dim defaultNamespace As String
Dim defaultType As Type
Dim returnValue As Variable
returnValue = instance.PromptAndCreateVariable(parentWindow, _
dtsContainer, defaultName, defaultNamespace, _
defaultType)
Variable PromptAndCreateVariable(
IWin32Window parentWindow,
DtsContainer dtsContainer,
string defaultName,
string defaultNamespace,
Type defaultType
)
Variable^ PromptAndCreateVariable(
IWin32Window^ parentWindow,
DtsContainer^ dtsContainer,
String^ defaultName,
String^ defaultNamespace,
Type^ defaultType
)
abstract PromptAndCreateVariable :
parentWindow:IWin32Window *
dtsContainer:DtsContainer *
defaultName:string *
defaultNamespace:string *
defaultType:Type -> Variable
function PromptAndCreateVariable(
parentWindow : IWin32Window,
dtsContainer : DtsContainer,
defaultName : String,
defaultNamespace : String,
defaultType : Type
) : Variable
Parametri
- parentWindow
Tipo: System.Windows.Forms. . :: . .IWin32Window
The System.Windows.Forms.IWin32Window of the designer.
- dtsContainer
Tipo: Microsoft.SqlServer.Dts.Runtime. . :: . .DtsContainer
The default container that the variable belongs to.
- defaultName
Tipo: System. . :: . .String
The default name of the variable.
- defaultNamespace
Tipo: System. . :: . .String
The default namespace that the variable will belong in.
- defaultType
Tipo: System. . :: . .Type
The default type of the variable.
Valore restituito
Tipo: Microsoft.SqlServer.Dts.Runtime. . :: . .Variable
A Variable.