API Reference > Functions > SDAI > _sdaiCreateRepository Function
_sdaiCreateRepository Function
Syntax
C++
DAI_EXPORT SdaiRep _sdaiCreateRepository(SdaiSession session, SdaiString name);

sdai.h

Parameters 
Description 
SdaiSession session 
[in] An SDAI session instance.  
SdaiString name 
[in] A string that contains the new repository name.  

A pointer to the created repository if it was successfully created; otherwise, the function returns the NULL pointer.

Creates a new repository with a specified name within the current SDAI session.

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