TransferContext.ForceOverwrite(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET