Date: Fri, 29 Mar 2024 11:22:51 +0000 (GMT) Message-ID: <562864654.645.1711711371478@ip-172-31-38-4.eu-west-1.compute.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_644_2142982554.1711711371473" ------=_Part_644_2142982554.1711711371473 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Creates an IProject from a path.
New-DatabaseProjectObject [-InputObject] &=
lt;string> [<CommonParameters>] |
The New-DatabaseProjectObject cmdlet takes a path and creates an IProjec= t object that represents the project.
The cmdlet assumes you have built the project by other means and does no= t attempt to perform its own build.
-Inp=
utObject <System.String>
The path to the database project.
Aliases | None |
Required? | true |
Position? | 0 |
Default Value | None |
Accept Pipeline Input | true (ByValue) |
Accept Wildcard Characters | false |
<CommonPara=
meters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorActi= on, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see= http://technet.microsoft.com/en-us/libr= ary/hh847884.aspx.
The input type is the type of the objects that you can pipe to the cmdle= t.
The path to the database proje= ct.
The output type is the type of the objects that the cmdlet emits.
|
This example shows how to use the New-DatabaseProjectObject cmdlet to ob= tain an IProject from a SQL Source Control Project which can be used to cre= ate a build artifact.
It is recommended to use Invoke-DatabaseBuild instead if you are able to= - this cmdlet does not guarantee your project is actually valid, and your = process may fail unexpectedly later if it is not. Please only use this cmdl= et if you are certain that the changes you have made are applicable. This c= mdlet will output an instance of a IProject object that can be used as the = input for other SQL Change Automation cmdlets.
|
This example shows how to use the New-DatabaseProjectObject cmdlet to ob= tain an IProject from a SQL Change Automation Project which can be used to = create a build artifact.
It is recommended to use Invoke-DatabaseBuild instead if you are able to= - this cmdlet does not guarantee your project is actually valid, and your = process may fail unexpectedly later if it is not. Please only use this cmdl= et if you are certain that the changes you have made are applicable. This c= mdlet will output an instance of a IProject object that can be used as the = input for other SQL Change Automation cmdlets.