WorkspaceManager.RenameWorkspace(String, String) Method
Renames the target workspace.
public void RenameWorkspace( string oldName, string newName )
Public Sub RenameWorkspace( oldName As String, newName As String )
A String value that is the name under which the workspace is currently stored in the WorkspaceManager.Workspaces collection.
A String value that is the new name for the workspace.
The RenameWorkspace method affects the workspace name under which it appears within a WorkspaceManager.Workspaces collection. If the workspace was loaded from a file (see the WorkspaceManager.LoadWorkspace method), the file name is not affect by the RenameWorkspace method.