Udostępnij za pośrednictwem


ISqlChildrenActionsDefinition<T>.GetByIdAsync Method

Definition

Asynchronously gets the information about a child resource from Azure SQL server using the resource ID.

public System.Threading.Tasks.Task<T> GetByIdAsync (string id, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
Public Function GetByIdAsync (id As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of T)

Parameters

id
String

The ID of the resource.

cancellationToken
CancellationToken

Returns

Task<T>

Applies to