Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
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
Parameter
- projectName
Typ: System.String
The name of the project.
- bAddMain
Typ: System.Boolean
True if main will be added; otherwise, false.
- bAddWrappers
Typ: System.Boolean
True if wrappers will be added; otherwise, false.
Rückgabewert
Typ: System.Boolean
The created project.