catalog.delete_environment_reference (SSISDB Database)


THIS TOPIC APPLIES TO: yesSQL Server (starting with 2012)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

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.

0 (success)


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

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

Community Additions