Click or drag to resize

TransferContextForceOverwrite Method

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

Namespace:  Microsoft.Azure.Storage.DataMovement
Assembly:  Microsoft.Azure.Storage.DataMovement (in Microsoft.Azure.Storage.DataMovement.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
public static Task<bool> ForceOverwrite(
	Object source,
	Object destination
)

Parameters

source
Type: SystemObject
Instance of source used to overwrite the destination.
destination
Type: SystemObject
Instance of destination to be overwritten.

Return Value

Type: TaskBoolean
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.
See Also