Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.7 KB

File metadata and controls

58 lines (39 loc) · 1.7 KB
title catalog.delete_environment (SSISDB Database) | Microsoft Docs
ms.custom
ms.date 03/04/2017
ms.prod sql
ms.prod_service integration-services
ms.reviewer
ms.technology integration-services
ms.topic language-reference
ms.assetid d44b765f-9523-4e6a-bb17-37846d5e5334
author chugugrace
ms.author chugu

catalog.delete_environment (SSISDB Database)

[!INCLUDEssis-appliesto]

[!INCLUDEtsql-appliesto-ss2012-xxxx-xxxx-xxx-md]

Deletes an environment from a folder in the [!INCLUDEssISnoversion] catalog.

Syntax

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

Arguments

[ @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).

Return Code Value

0 (success)

Result Sets

None

Permissions

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

Errors and Warnings

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