JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. SWSServer.RenameDirectory Rename a subdirectory to a new name within the same directory. Syntax Parameters Return Value Function SWSServer.RenameDirectory( _ uriSource As String, _ newName As String, _ Optional bCreateUnique As Boolean = False) As String uriSource [in] Type: String newName [in] Type: String bCreateUnique [in, optional] Type: Boolean Default value: False String. Copyright © 2020. TIBCO Software Inc. All Rights Reserved.