Smartsheet.Api.Internal.SheetResourcesImpl.MoveSheet C# (CSharp) Method

MoveSheet() public method

Moves the specified sheet to a new location.

It mirrors To the following Smartsheet REST API method:
POST /sheets/{sheetId}/move

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public MoveSheet ( long sheetId, ContainerDestination destination ) : Api.Models.Sheet
sheetId long the sheet Id
destination Smartsheet.Api.Models.ContainerDestination the destination to copy to
return Api.Models.Sheet
        public virtual Sheet MoveSheet(long sheetId, ContainerDestination destination)
        {
            return this.CreateResource<RequestResult<Sheet>, ContainerDestination>("sheets/" + sheetId + "/move", destination).Result;
        }