Click or drag to resize

IServerNotificationsMoveToAsync Method

IT Hit User File System
Moves the file or folder placeholder in the user file system.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 6.1.19907.0-Beta
Syntax
Task<bool> MoveToAsync(
	string userFileSystemNewPath
)

Parameters

userFileSystemNewPath
Type: SystemString
New path in the user file system.

Return Value

Type: TaskBoolean
True if changes were made in user file system. False - otherwise.
Remarks

This method can move items that are modified in user file system (not In-Sync).

This method moves the item only if the source item iexists in the user file system and the target item parent folder exists and is not offline.

If the source item does not exists in the user file system, this method does not move the item and returns false. In this case if the target item exists, you must create a new item by calling CreateAsync(IFileSystemItemMetadata) method.

If the target parent folder does not exists or is offline, this method does not move the item and returns false. In this case, if the source item exists, you must delete the source item by calling DeleteAsync method.

See Also