IDtsVariableService.PromptAndCreateVariable Method (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 (in microsoft.sqlserver.dts.design.dll)
구문
‘선언
Function PromptAndCreateVariable ( _
parentWindow As IWin32Window, _
dtsContainer As DtsContainer, _
defaultName As String, _
defaultNamespace As String, _
defaultType As Type _
) As Variable
Variable PromptAndCreateVariable (
IWin32Window parentWindow,
DtsContainer dtsContainer,
string defaultName,
string defaultNamespace,
Type 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
)
function PromptAndCreateVariable (
parentWindow : IWin32Window,
dtsContainer : DtsContainer,
defaultName : String,
defaultNamespace : String,
defaultType : Type
) : 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.
- defaultNamespace
The default namespace that the variable will belong in.
- defaultType
The default type 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