Partager via


IDtsVariableService.PromptAndCreateVariable Méthode

Définition

Demande puis crée une variable.

Surcharges

PromptAndCreateVariable(IWin32Window, DtsContainer)

Demande puis crée une variable.

PromptAndCreateVariable(IWin32Window, DtsContainer, String)

Demande puis crée une variable pour une fenêtre et un conteneur spécifiés. Cette méthode est une méthode d'assistance pour l'utilisation de variables dans une interface utilisateur.

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

Demande et crée une variable pour la fenêtre, le conteneur et l'espace de noms spécifiés. Cette méthode est une méthode d'assistance pour l'utilisation de variables dans une interface utilisateur.

PromptAndCreateVariable(IWin32Window, DtsContainer)

Demande puis crée une variable.

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

Paramètres

parentWindow
IWin32Window

IWin32Window du concepteur.

dtsContainer
DtsContainer

Conteneur par défaut auquel la variable appartient.

Retours

Nouvelle instance de Variable.

S’applique à

PromptAndCreateVariable(IWin32Window, DtsContainer, String)

Demande puis crée une variable pour une fenêtre et un conteneur spécifiés. Cette méthode est une méthode d'assistance pour l'utilisation de variables dans une interface utilisateur.

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

Paramètres

parentWindow
IWin32Window

IWin32Window du concepteur.

dtsContainer
DtsContainer

Conteneur par défaut auquel la variable appartient.

defaultName
String

Nom par défaut de la variable.

Retours

Nouvelle instance de Variable.

S’applique à

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

Demande et crée une variable pour la fenêtre, le conteneur et l'espace de noms spécifiés. Cette méthode est une méthode d'assistance pour l'utilisation de variables dans une interface utilisateur.

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

Paramètres

parentWindow
IWin32Window

IWin32Window du concepteur.

dtsContainer
DtsContainer

Conteneur par défaut auquel la variable appartient.

defaultName
String

Nom par défaut de la variable.

defaultNamespace
String

Espace de noms par défaut auquel la variable appartiendra.

defaultType
Type

Type par défaut de la variable.

Retours

Nouvelle instance de Variable.

S’applique à