GetRefreshExternalCollectionProgressAsync()

Gets the progress of an external-collection refresh job.

public async Task<GetRefreshExternalCollectionProgressResp> GetRefreshExternalCollectionProgressAsync(GetRefreshExternalCollectionProgressReq request, CancellationToken cancellationToken = default)

Request Syntax

var request = new GetRefreshExternalCollectionProgressReq
{
    JobId = 12345
};

GetRefreshExternalCollectionProgressResp result = await client.GetRefreshExternalCollectionProgressAsync(request);

REQUEST PARAMETERS:

  • JobId (long) -

    The job ID returned by RefreshExternalCollectionAsync().

RETURN TYPE:

Task

RETURNS:

A GetRefreshExternalCollectionProgressResp object.

EXCEPTIONS:

  • MilvusException

    Thrown when the RPC fails or the server returns an error. Inspect the exception message for details.

Example

using Milvus.Client.V2;
using Milvus.Client.V2.Requests.Utility;
using Milvus.Client.V2.Responses.Utility;
using Milvus.Client.V2.Types;

using var client = new MilvusClientV2(new ConnectConfig
{
    Uri = "localhost:19530",
    Username = "root",
    Password = "Milvus"
});
await client.ConnectAsync();

GetRefreshExternalCollectionProgressResp result = await client.GetRefreshExternalCollectionProgressAsync(new GetRefreshExternalCollectionProgressReq
{
    JobId = 12345
});

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?