Deletes an environment reference from a project in the Integration Services catalog.
delete_environment_reference [ @reference_id = ] reference_id
The unique identifier of the environment reference. The reference_id is bigint.
0 (success)
None
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