DocumentClient.GetStorageStatisticsAsync Method

Retrieves the statistics related to storage. For now, only attachment content (media) statistics are returned.

Namespace:  Microsoft.Azure.Documents.Client
Assembly:  Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

Syntax

'Declaration
Public Function GetStorageStatisticsAsync As Task(Of StorageStatistics)
'Usage
Dim instance As DocumentClient 
Dim returnValue As Task(Of StorageStatistics)

returnValue = instance.GetStorageStatisticsAsync()
public Task<StorageStatistics> GetStorageStatisticsAsync()
public:
Task<StorageStatistics^>^ GetStorageStatisticsAsync()
member GetStorageStatisticsAsync : unit -> Task<StorageStatistics> 
public function GetStorageStatisticsAsync() : Task<StorageStatistics>

Return Value

Type: System.Threading.Tasks.Task<StorageStatistics>
The task object representing the service response for the asynchronous operation.

See Also

Reference

DocumentClient Class

Microsoft.Azure.Documents.Client Namespace