Compartir a través de


SqlDatabaseAdvisorCollection.Get(String, CancellationToken) Método

Definición

Obtiene un asesor de bases de datos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}
  • IdDatabaseAdvisors_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource> Get (string advisorName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource>
Public Overridable Function Get (advisorName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SqlDatabaseAdvisorResource)

Parámetros

advisorName
String

Nombre del Asesor de bases de datos.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

advisorName es una cadena vacía y se espera que no esté vacía.

advisorName es null.

Se aplica a