API Reference > Functions > SDAI > sdaiOpenRepository Function
sdaiOpenRepository Function
Syntax
C++
DAI_EXPORT SdaiRep sdaiOpenRepository(SdaiSession session, SdaiRep repository);

sdai.h

Parameters 
Description 
SdaiSession session 
[in] A session within which the repository should be opened.  
SdaiRep repository 
[in] A pointer to the repository that should be opened.  

A raw pointer to the opened repository object if the function was successfully finished; otherwise, the function returns the NULL value.

Opens the specified repository.

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