IPineconeMemoryStore.ListNamespacesAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List Namespaces
public System.Collections.Generic.IAsyncEnumerable<string?> ListNamespacesAsync (string indexName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListNamespacesAsync : string * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<string>
Public Function ListNamespacesAsync (indexName As String, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of String)
Parameters
- indexName
- String
The name of the index.
- cancellationToken
- CancellationToken
Cancellation Token to cancel the request.
Returns
A list of namespaces.
Remarks
This operation returns a list of all namespaces in the given index.