# AODataSegmentRestore

Restores data from a particular segment of a database.

### Synopsis

    #include "petscao.h"
    PetscErrorCode PETSCDM_DLLEXPORT AODataSegmentRestore(AOData aodata,const char name[],const char segment[],PetscInt n,PetscInt *keys,void **data)

Collective on AOData

### Input Parameters

| aodata | - the database
| name | - the name of the key
| segment | - the name of the segment
| n | - the number of data items needed by this processor
| keys | - the keys provided by this processor

### Output Parameters

data -the actual data

### Keywords

database transactions

### See Also

AODataSegmentRestoreIS()

Level:advanced
Location:src/dm/ao/interface/aodata.c
Index of all AO routines
Table of Contents for all manual pages
Index of all manual pages