ILeaseContainer.GetOwnedLeasesAsync Method
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.
Get all the leases owned by the current host.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease>> GetOwnedLeasesAsync ();
abstract member GetOwnedLeasesAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease>>
Public Function GetOwnedLeasesAsync () As Task(Of IEnumerable(Of ILease))
Returns
Enumerable of all leases owned by the current host
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET