catalog.create_folder (SSISDB 資料庫)

適用於:SQL Server Azure Data Factory 中的 SSIS Integration Runtime

適用於:SQL Server

在 Integration Services 目錄中建立資料夾。

語法

catalog.create_folder [ @folder_name = ] folder_name, [ @folder_id = ] folder_id OUTPUT  

引數

[@folder_name =] folder_name
新資料夾的名稱。 folder_namenvarchar(128)

[@folder_name =] folder_id
資料夾的唯一識別碼 (ID)。 folder_idbigint

傳回碼值

傳回資料夾識別項。

結果集

None

權限

這個預存程序需要下列其中一個權限:

  • ssis_admin 資料庫角色的成員資格

  • 系統管理員伺服器角色的成員資格

錯誤和警告

如有同名的資料夾存在,預存程序會傳回錯誤。