다음을 통해 공유


BlockBlobClient.Query(String, BlobQueryOptions, CancellationToken) Method

Definition

The Query(String, BlobQueryOptions, CancellationToken) API returns the result of a query against the blob.

For more information, see Query Blob Contents.

public virtual Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadInfo> Query (string querySqlExpression, Azure.Storage.Blobs.Models.BlobQueryOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Query : string * Azure.Storage.Blobs.Models.BlobQueryOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadInfo>
override this.Query : string * Azure.Storage.Blobs.Models.BlobQueryOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadInfo>
Public Overridable Function Query (querySqlExpression As String, Optional options As BlobQueryOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BlobDownloadInfo)

Parameters

querySqlExpression
String

The query.

options
BlobQueryOptions

Optional parameters.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

A Response<T>.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to