共用方式為


SqlServerResource.GetInaccessibleDatabasesAsync(CancellationToken) Method

Definition

Gets a list of inaccessible databases in a logical server

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/inaccessibleDatabases
  • Operation Id: Databases_ListInaccessibleByServer
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlDatabaseResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseResource> GetInaccessibleDatabasesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetInaccessibleDatabasesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
override this.GetInaccessibleDatabasesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
Public Overridable Function GetInaccessibleDatabasesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlDatabaseResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SqlDatabaseResource that may take multiple service requests to iterate over.

Applies to