Dev2.Models.ServerExplorerClientProxy.RenameFolder C# (CSharp) Method

RenameFolder() public method

public RenameFolder ( string path, string newName, System.Guid workSpaceId ) : IExplorerRepositoryResult
path string
newName string
workSpaceId System.Guid
return IExplorerRepositoryResult
        public IExplorerRepositoryResult RenameFolder(string path, string newName, Guid workSpaceId)
        {
            var controller = CommunicationControllerFactory.CreateController("RenameFolderService");
            controller.AddPayloadArgument("path", path);
            controller.AddPayloadArgument("newPath", newName);
            return controller.ExecuteCommand<IExplorerRepositoryResult>(Connection, workSpaceId);
        }