Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Creates a new ScriptComponentHost project.
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.TxScript (in Microsoft.SqlServer.TxScript.dll)
Syntax
'Declaration
Public Function CreateNewProject ( _
projectName As String, _
bAddMain As Boolean, _
bAddWrappers As Boolean _
) As Boolean
'Usage
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
Parameters
- projectName
Type: System.String
The name of the project.
- bAddMain
Type: System.Boolean
True if main will be added; otherwise, false.
- bAddWrappers
Type: System.Boolean
True if wrappers will be added; otherwise, false.
Return Value
Type: System.Boolean
The created project.