catalog.create_environment_reference (SSISDB Database)
Creates an environment reference for a project in the Integration Services catalog.
The following list describes some conditions that may raise an error or warning:
-
The folder name is not valid
-
The project name is not valid
-
The user does not appropriate permissions
-
An absolute reference is specified by using the A character in the reference_location parameter, but the name of the folder was not specified with the environment_folder_name parameter.
A project can have relative or absolute environment references. Relative references refer to the environment by name and require that it resides in the same folder as the project. Absolute references refer to the environment by name and folder, and may refer to environments that reside in a different folder than the project. A project can reference multiple environments.