Application.RenameFolderOnDtsServer Method (String, String, String, String)
Renames a folder on the specified instance of SQL Server.
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
The following code example creates a folder within the Integration Services services hierarchy, verifies that the folder has been created, renames it, verifies that the old name is still recognized as a folder, and then verifies whether the new folder name is found.
Folder exists? True
Old, renamed folder exists? False
New folder exists? True