다음을 통해 공유


TransferContext.ForceOverwrite(Object, Object) Method

Definition

Callback used to force overwrite the destination without existence check. It can be used when destination credentials only contains write permission.

public static System.Threading.Tasks.Task<bool> ForceOverwrite (object source, object destination);
static member ForceOverwrite : obj * obj -> System.Threading.Tasks.Task<bool>
Public Shared Function ForceOverwrite (source As Object, destination As Object) As Task(Of Boolean)

Parameters

source
Object

Instance of source used to overwrite the destination.

destination
Object

Instance of destination to be overwritten.

Returns

True if the file should be overwritten; otherwise false.

Remarks

Read permission is still required in destination credentials in serivce side copy for copy status monitoring.

Applies to