TransferContext.ForceOverwrite Method (Object, Object)

 

Updated: January 5, 2017

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

Namespace:   Microsoft.WindowsAzure.Storage.DataMovement
Assembly:  Microsoft.WindowsAzure.Storage.DataMovement (in Microsoft.WindowsAzure.Storage.DataMovement.dll)

public static bool ForceOverwrite(
	object source,
	object destination
)

Parameters

source
Type: System.Object

Instance of source used to overwrite the destination.

destination
Type: System.Object

Instance of destination to be overwritten.

Return Value

Type: System.Boolean

True if the file should be overwritten; otherwise false.

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

Return to top
Show: