Freigeben über


IDtsVariableService.PromptAndCreateVariable Method (IWin32Window, DtsContainer, String)

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.

Namespace: Microsoft.SqlServer.Dts.Runtime.Design
Assembly : Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

Syntax

'Declaration
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

Parameter

  • 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.

Rückgabewert

A Variable.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

IDtsVariableService Interface
IDtsVariableService Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace