milvus-logo

closeConnection()

This method closes the connection to Milvus. Make sure you close the connection only when you are done.

Invocation

milvusClient.closeConnection();

Parameters

None.

Example

milvusClient.closeConnection();

Return

// grpc client return closed -> 4, connected -> 0 
4