ILeaseManager Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ILeaseManager defines a way to perform operations with ILease.
public interface ILeaseManager
type ILeaseManager = interface
Public Interface ILeaseManager
- Derived
Methods
AcquireAsync(ILease) |
Acquire ownership of the lease. |
CreateLeaseIfNotExistAsync(String, String) |
Checks whether the lease exists and creates it if it does not exist. |
DeleteAsync(ILease) |
Delete the lease. |
ReleaseAsync(ILease) |
Release ownership of the lease. |
RenewAsync(ILease) |
Renew the lease. Leases are periodically renewed to prevent expiration. |
UpdatePropertiesAsync(ILease) |
Replace properties from the specified lease. |