IServerNotificationsMoveToAsync Method (Byte, String, IFileSystemItemMetadata) |
IT Hit User File System
Moves the file or folder placeholder in the user file system by remote storage item ID.
Automatically creates the target or deletes source depending on items existance.
Namespace:
ITHit.FileSystem
Assembly:
ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.3.27213.0
Syntax Task<OperationResult> MoveToAsync(
byte[] targetParentRemoteStorageId,
string targetFileName,
IFileSystemItemMetadata metadata
)
Function MoveToAsync (
targetParentRemoteStorageId As Byte(),
targetFileName As String,
metadata As IFileSystemItemMetadata
) As Task(Of OperationResult)
Task<OperationResult^>^ MoveToAsync(
array<unsigned char>^ targetParentRemoteStorageId,
String^ targetFileName,
IFileSystemItemMetadata^ metadata
)
abstract MoveToAsync :
targetParentRemoteStorageId : byte[] *
targetFileName : string *
metadata : IFileSystemItemMetadata -> Task<OperationResult>
Parameters
- targetParentRemoteStorageId
- Type: SystemByte
Target parent folder remote storage item ID. - targetFileName
- Type: SystemString
Target file name. - metadata
- Type: ITHit.FileSystemIFileSystemItemMetadata
This data will be used in case the source does not exists.
Return Value
Type:
TaskOperationResultOperation result, indicating if the operation was successfull and how many items was affected. If operation failed contains a reason for the failure.
Remarks See Also