SqlClient.GetServersAsync(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.
List the servers
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.ODataServersList> GetServersAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetServersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.ODataServersList>
override this.GetServersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.ODataServersList>
Public Overridable Function GetServersAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of ODataServersList)
Parameters
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The List the servers response.
Remarks
Discovery method used to populate dynamic parameter values at design time.