-
Notifications
You must be signed in to change notification settings - Fork 3
Get SsisProjectLsn
Richie Lee edited this page May 15, 2020
·
1 revision
Get latest project lsn. This is effectively the version number of the project.
Get-SsisProjectLsn [-jsonPsCustomObject] <PSObject> [-sqlConnection] <SqlConnection>
[[-ssisFolderName] <String>] [<CommonParameters>]
useful for when we may need to rollback, this is the latest lsn for a given project.
$ssisLatestProjectLsn = Get-SsisProjectLsn -ssisPublishFilePath $thisSsisPublishFilePath -sqlConnection $ssisdb
Tested json object loaded from Import-Json
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The SQL Connection to SSISDB
Type: SqlConnection
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optional parameter. We may wish to override the value of what is in the json file.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Used in rollback process, but seeing as we're not currently using that process this is not currently in use.