API Reference > Functions > SDAI > _sdaiWriteRepositoryToFile Function
_sdaiWriteRepositoryToFile Function
Syntax
C++
DAI_EXPORT SdaiBoolean _sdaiWriteRepositoryToFile(SdaiRep repository, SdaiString fileName);

sdai.h

Parameters 
Description 
SdaiRep repository 
[in] A repository instance.  
SdaiString fileName 
[in] A string that contains the name of the file where the contents of the repository are saved.  

sdaiTRUE if the repository was successfully saved into the file; otherwise, the function return sdaiFALSE.

Saves a specified repository to a file.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.