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
)
Public Shared Function ForceOverwrite (
source As Object,
destination As Object
) As Task(Of Boolean)
public:
static Task<bool>^ ForceOverwrite(
Object^ source,
Object^ destination
)
static member ForceOverwrite :
source : Object *
destination : Object -> Task<bool>
Parameters
- source
- Type: SystemObject
Instance of source used to overwrite the destination. - destination
- Type: SystemObject
Instance of destination to be overwritten.
Return Value
Type:
TaskBooleanTrue 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