C#
C++
F#
VB
AccessCondition.::..GenerateIfMaxSizeLessThanOrEqualCondition Method (Int64)(Int64)(Int64)(Int64)
Constructs an access condition such that an operation will be performed only if the size of the append blob after committing the block is less than or equal to the specified value.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
C++
public: static AccessCondition^ GenerateIfMaxSizeLessThanOrEqualCondition( long long maxSize )
static member GenerateIfMaxSizeLessThanOrEqualCondition : maxSize:int64 -> AccessCondition
Public Shared Function GenerateIfMaxSizeLessThanOrEqualCondition ( maxSize As Long ) As AccessCondition
Parameters
- maxSize
-
Type:
System.Int64System::Int64System.Int64System.Int64
An integer specifying the maximum allowed size of the blob, in bytes, when committing a new block.
Return Value
Type: Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage::AccessCondition^Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage.AccessConditionAn AccessCondition object that represents the maximum allowed size.