SqlClient.GetTableAsync 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 metadata of a table
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.TableMetadata> GetTableAsync(string serverName, string databaseName, string tableName, bool? extractMIPLabels = default, string purviewAcccountName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTableAsync : string * string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.TableMetadata>
override this.GetTableAsync : string * string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.TableMetadata>
Public Overridable Function GetTableAsync (serverName As String, databaseName As String, tableName As String, Optional extractMIPLabels As Nullable(Of Boolean) = Nothing, Optional purviewAcccountName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TableMetadata)
Parameters
- serverName
- String
Server name
- databaseName
- String
Database name
- tableName
- String
Table name
- purviewAcccountName
- String
Purview Acccount Name
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get metadata of a table response.
Remarks
Discovery method used to populate dynamic parameter values at design time.