IServerNotificationsMoveToAsync Method (Byte, String, IMetadata) |
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: 9.0.27334.0-Beta
SyntaxTask<OperationResult> MoveToAsync(
byte[] targetParentRemoteStorageId,
string targetFileName,
IMetadata metadata
)
Function MoveToAsync (
targetParentRemoteStorageId As Byte(),
targetFileName As String,
metadata As IMetadata
) As Task(Of OperationResult)
Task<OperationResult^>^ MoveToAsync(
array<unsigned char>^ targetParentRemoteStorageId,
String^ targetFileName,
IMetadata^ metadata
)
abstract MoveToAsync :
targetParentRemoteStorageId : byte[] *
targetFileName : string *
metadata : IMetadata -> Task<OperationResult>
Parameters
- targetParentRemoteStorageId
- Type: SystemByte
Target parent folder remote storage item ID. - targetFileName
- Type: SystemString
Target file name. - metadata
- Type: ITHit.FileSystemIMetadata
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
Semantics of this method is identical to
MoveToAsync(String, IMetadata)
except this method identifies the target path using
targetParentRemoteStorageId
and
targetFileName parameters.
See Also