CollectionApiClientGetCollectionShardsAsync Method |
Returns the shard ids of a collection.
This method is only available in a cluster Coordinator.
GET /_api/collection/{collection-name}/shards
Namespace:
ArangoDBNetStandard.CollectionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<GetCollectionShardsResponse> GetCollectionShardsAsync(
string collectionName
)
Public Overridable Function GetCollectionShardsAsync (
collectionName As String
) As Task(Of GetCollectionShardsResponse)
public:
virtual Task<GetCollectionShardsResponse^>^ GetCollectionShardsAsync(
String^ collectionName
)
abstract GetCollectionShardsAsync :
collectionName : string -> Task<GetCollectionShardsResponse>
override GetCollectionShardsAsync :
collectionName : string -> Task<GetCollectionShardsResponse>
Parameters
- collectionName
- Type: SystemString
Name of the collection.
Return Value
Type:
TaskGetCollectionShardsResponseImplements
ICollectionApiClientGetCollectionShardsAsync(String)See Also