SqlServerResource.GetInaccessibleDatabases(CancellationToken) 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.
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.Pageable<Azure.ResourceManager.Sql.SqlDatabaseResource> GetInaccessibleDatabases (System.Threading.CancellationToken cancellationToken = default);
abstract member GetInaccessibleDatabases : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
override this.GetInaccessibleDatabases : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
Public Overridable Function GetInaccessibleDatabases (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlDatabaseResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of SqlDatabaseResource that may take multiple service requests to iterate over.