Compartir a través de


SqlDatabaseResource.GetDatabaseUsages(CancellationToken) Método

Definición

Obtiene los usos de la base de datos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/usages
  • IdDatabaseUsages_ListByDatabase de operación
public virtual Azure.Pageable<Azure.ResourceManager.Sql.Models.DatabaseUsage> GetDatabaseUsages (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDatabaseUsages : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.DatabaseUsage>
override this.GetDatabaseUsages : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.DatabaseUsage>
Public Overridable Function GetDatabaseUsages (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DatabaseUsage)

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección de DatabaseUsage que puede tomar varias solicitudes de servicio para iterar.

Se aplica a