catalog.clear_object_parameter_value(SSISDB 数据库)catalog.clear_object_parameter_value (SSISDB Database)

适用范围:SQL Server,包括 Linux Azure SQL 数据库yesAzure SQL 数据仓库no并行数据仓库 APPLIES TO: yesSQL Server, including on Linux yesAzure SQL Database yesAzure SQL Data Warehouse noParallel Data Warehouse

适用对象: yesSQL ServeryesAzure SQL 数据库noAzure SQL 数据仓库no并行数据仓库APPLIES TO: yesSQL Server noAzure SQL Database noAzure SQL Data Warehouse noParallel Data Warehouse

清除存储在服务器上的现有 Integration ServicesIntegration Services 项目或包的参数的值。Clears the value of a parameter for an existing Integration ServicesIntegration Services project or package that is stored on the server.


catalog.clear_object_parameter [ @folder_name = ] folder_name   
    , [ @project_name = ] project_name   
    , [ @object_type = ] object_type   
    , [ @object_name = ] object_name   
    , [ @parameter_ name = ] parameter_name  


[ @folder_name = ] folder_name[ @folder_name = ] folder_name
包含项目的文件夹的名称。The name of the folder that contains the project. folder_namenvarchar(128)The folder_name is nvarchar(128).

[ @project_name = ] project_name[ @project_name = ] project_name
项目的名称。The name of project. project_namenvarchar(128)The project_name is nvarchar(128).

[ @object_type = ] object_type[ @object_type = ] object_type
对象的类型。The type of object. 有效值包括 20(对应于项目)和 30(对应于包)。Valid values include 20 for a project and 30 for a package. object_typesmallIntThe object_type is smallInt.

[ @ object _name = ] object _name[ @ object _name = ] object _name
包的名称。The name of the package. object _namenvarchar(260)The object _name is nvarchar(260).

[ @parameter_ name = ] parameter_name[ @parameter_ name = ] parameter_name
参数名。The name of the parameter. parameter_ namenvarchar(128)The parameter_ name is nvarchar(128).

返回代码值Return Code Value

0(成功)0 (success)

结果集Result Sets



此存储过程需要下列权限之一:This stored procedure requires one of the following permissions:

  • 针对项目的 READ 和 MODIFY 权限READ and MODIFY permissions on the project

  • ssis_admin 数据库角色的成员资格Membership to the ssis_admin database role

  • sysadmin 服务器角色的成员资格Membership to the sysadmin server role

错误和警告Errors and Warnings

下面的列表描述了一些可能导致 clear_object_parameter 存储过程引发错误的情况:The following list describes some conditions that may cause the clear_object_parameter stored procedure to raise an error:

  • 指定了无效的对象类型,或在项目中找不到对象名称。An invalid object type is specified or the object name cannot be found in the project.

  • 项目不存在、项目无法访问,或者项目名称无效The project does not exist, the project is not accessible, or the project name is invalid

  • 指定了无效的参数名称。An invalid parameter name is specified.

  • 用户不具备适当的权限。The user does not have the appropriate permissions.