CollectionApiClientRenameCollectionAsync Method |
Rename a collection.
PUT /_api/collection/{collection-name}/rename
Namespace:
ArangoDBNetStandard.CollectionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<RenameCollectionResponse> RenameCollectionAsync(
string collectionName,
RenameCollectionBody body
)
Public Overridable Function RenameCollectionAsync (
collectionName As String,
body As RenameCollectionBody
) As Task(Of RenameCollectionResponse)
public:
virtual Task<RenameCollectionResponse^>^ RenameCollectionAsync(
String^ collectionName,
RenameCollectionBody^ body
)
abstract RenameCollectionAsync :
collectionName : string *
body : RenameCollectionBody -> Task<RenameCollectionResponse>
override RenameCollectionAsync :
collectionName : string *
body : RenameCollectionBody -> Task<RenameCollectionResponse>
Parameters
- collectionName
- Type: SystemString
- body
- Type: ArangoDBNetStandard.CollectionApi.ModelsRenameCollectionBody
Return Value
Type:
TaskRenameCollectionResponseImplements
ICollectionApiClientRenameCollectionAsync(String, RenameCollectionBody)See Also