SqlClient.GetTablesAsync 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.
Get tables (V2)
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.GetTablesResponse> GetTablesAsync(string serverName, string databaseName, bool? extractMIPLabels = default, string purviewAcccountName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTablesAsync : string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.GetTablesResponse>
override this.GetTablesAsync : string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.GetTablesResponse>
Public Overridable Function GetTablesAsync (serverName As String, databaseName As String, Optional extractMIPLabels As Nullable(Of Boolean) = Nothing, Optional purviewAcccountName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GetTablesResponse)
Parameters
- serverName
- String
Server name
- databaseName
- String
Database name
- purviewAcccountName
- String
Purview Acccount Name
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get tables (V2) response.
Remarks
This operation gets tables from a database.