catalog.delete_environment (SSISDB Database)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Deletes an environment from a folder in the Integration Services catalog.

delete_environment [ @folder_name = ] folder_name , [ @environment_name = ] environment_name

[ @folder_name = ] folder_name

The name of the folder that contains the environment. The folder_name is nvarchar(128).

[ @environment_name = ] environment_name

The name of the environment that is to be deleted. The environment_name is nvarchar(128).

This stored procedure requires one of the following permissions:

  • READ and MODIFY permissions on the environment

  • 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 specified environment does not exist

  • The user does not have the appropriate permissions

Community Additions

© 2015 Microsoft