ScriptComponentHost.CreateNewProject 메서드
이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Creates a new ScriptComponentHost project.
네임스페이스: Microsoft.SqlServer.Dts.Pipeline
어셈블리: Microsoft.SqlServer.TxScript(Microsoft.SqlServer.TxScript.dll)
구문
‘선언
Public Function CreateNewProject ( _
projectName As String, _
bAddMain As Boolean, _
bAddWrappers As Boolean _
) As Boolean
‘사용 방법
Dim instance As ScriptComponentHost
Dim projectName As String
Dim bAddMain As Boolean
Dim bAddWrappers As Boolean
Dim returnValue As Boolean
returnValue = instance.CreateNewProject(projectName, _
bAddMain, bAddWrappers)
public bool CreateNewProject(
string projectName,
bool bAddMain,
bool bAddWrappers
)
public:
bool CreateNewProject(
String^ projectName,
bool bAddMain,
bool bAddWrappers
)
member CreateNewProject :
projectName:string *
bAddMain:bool *
bAddWrappers:bool -> bool
public function CreateNewProject(
projectName : String,
bAddMain : boolean,
bAddWrappers : boolean
) : boolean
매개 변수
- projectName
유형: System.String
The name of the project.
- bAddMain
유형: System.Boolean
True if main will be added; otherwise, false.
- bAddWrappers
유형: System.Boolean
True if wrappers will be added; otherwise, false.
반환 값
유형: System.Boolean
The created project.