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

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Design
어셈블리:  Microsoft.SqlServer.Dts.Design(Microsoft.SqlServer.Dts.Design.dll)

Variable PromptAndCreateVariable(
	IWin32Window parentWindow,
	DtsContainer dtsContainer,
	string defaultName,
	string defaultNamespace,
	Type defaultType
)

매개 변수

parentWindow
유형: System.Windows.Forms.IWin32Window
The IWin32Window of the designer.
dtsContainer
유형: Microsoft.SqlServer.Dts.Runtime.DtsContainer
The default container that the variable belongs to.
defaultName
유형: System.String
The default name of the variable.
defaultNamespace
유형: System.String
The default namespace that the variable will belong in.
defaultType
유형: System.Type
The default type of the variable.

반환 값

유형: Microsoft.SqlServer.Dts.Runtime.Variable
A new Variable instance.

커뮤니티 추가 항목

추가
표시: