Método ScriptComponentHost.CreateNewProject
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Creates a new ScriptComponentHost project.
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.TxScript (em Microsoft.SqlServer.TxScript.dll)
Sintaxe
'Declaração
Public Function CreateNewProject ( _
projectName As String, _
bAddMain As Boolean, _
bAddWrappers As Boolean _
) As Boolean
'Uso
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
Parâmetros
- projectName
Tipo: System.String
The name of the project.
- bAddMain
Tipo: System.Boolean
True if main will be added; otherwise, false.
- bAddWrappers
Tipo: System.Boolean
True if wrappers will be added; otherwise, false.
Valor de retorno
Tipo: System.Boolean
The created project.