Share via


lease_break_period Class

Specifies the proposed duration of seconds that the lease should continue before it is broken.

class lease_break_period;

Members

Public Constructors

Name Description

lease_break_period::lease_break_period Constructor

Overloaded. Initializes a new instance of the azure::storage::lease_break_period class that breaks a fixed-duration lease after the remaining lease period elapses, or breaks an infinite lease immediately.

Public Methods

Name Description

lease_break_period::is_valid Method

Indicates whether the lease_break_period object is valid.

lease_break_period::seconds Method

Gets the proposed duration for the lease before it is broken.

Public Operators

Name Description

lease_break_period::operator= Operator

Returns a reference to a lease_break_period object.

Inheritance Hierarchy

lease_break_period

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

azure::storage Namespace