IfMatch Property
Specifies the condition for which the operation should be performed.
Syntax
azureblobcontrol.IfMatch[=string]
Default Value
""
Remarks
The IfMatch property may be set to an ETag value when performing any of the operations listed below. If the ETag matches the current ETag of the object on which the action is performed it will succeed. Otherwise if the ETag value specified in this property does not match the ETag value of the object on the server the operation will fail. Since the ETag will be updated each time there is a change to the object on the server, this allows you to verify that no changes have occurred to the object since you stored the ETag value.
This property applies to the following methods:
- CreateBlob
- GetBlob
- SetBlobMetadata
- GetBlobMetadata
- PutBlockList
- DeleteBlob
- CopyBlob
- CreateSnapshot
- LeaseBlob
Note, for CopyBlob, you may also set SourceIfMatch.
Data Type
String