Sets the property of an environment in the Integration Services catalog.
set_environment_property [ @folder_name = ] folder_name , [ @environment_name = ] environment_name , [ @property_name = ] property_name , [ @property_value = ] property_value
[ @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. The environment_name is nvarchar(128).
[ @property_name = ] property_name
The name of an environment property. The property_name is nvarchar(128).
[ @property_value = ] property_value
The value of the environment property. The property_value is nvarchar(1024).
Return Code Value
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 folder name is not valid
The property name is not valid
The environment name is not valid
In this release, only the
Description property can be set. The property value for the
Description property cannot exceed 4000 characters.