ListRefreshExternalCollectionJobsAsync()

Lists the external-collection refresh jobs.

public async Task<ListRefreshExternalCollectionJobsResp> ListRefreshExternalCollectionJobsAsync(ListRefreshExternalCollectionJobsReq request, CancellationToken cancellationToken = default)

Request Syntax

var request = new ListRefreshExternalCollectionJobsReq
{
    CollectionName = "my_collection"
};

ListRefreshExternalCollectionJobsResp result = await client.ListRefreshExternalCollectionJobsAsync(request);

REQUEST PARAMETERS:

  • DatabaseName (string?) -

    An optional database name to operate on. When empty, the client’s currently selected database is used.

  • CollectionName (string?) -

    An optional collection name to filter the refresh jobs of. When empty, the refresh jobs of all collections are listed.

RETURN TYPE:

Task

RETURNS:

A ListRefreshExternalCollectionJobsResp 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();

ListRefreshExternalCollectionJobsResp result = await client.ListRefreshExternalCollectionJobsAsync(new ListRefreshExternalCollectionJobsReq
{
    CollectionName = "my_collection"
});

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?