catalog.delete_environment_reference (SSISDB Database)
Deletes an environment reference from a project in the Integration Services catalog.
delete_environment_reference [ @reference_id = ] reference_id
- [ @reference\_id = ] reference_id
The unique identifier of the environment reference. The reference_id is bigint.
Return Code Value
This stored procedure requires one of the following permissions:
MODIFY permission on the project
Membership to the ssis_admin database role
Membership to the sysadmin server role
Errors and Warnings
The following list describes some conditions that may raise an error or warning:
The environment reference identifier is not valid
The user does not have the appropriate permissions