Eplan Platform API
Eplan.EplApi.HEServices Namespace / ProjectManagement Class / CreateDatabase Method
The file name of EPLAN database or a string for selecting a SQL Server database. The syntax of that string is: "Server|Database|0" Windows authentication "Server|Database|2|Username|Password" SQL Server authentication, username and password not encrypted.

In This Topic
    CreateDatabase Method (ProjectManagement)
    In This Topic
    Create a new projectmanagement database.
    Syntax
    public void CreateDatabase( 
       string strDatabase
    )
    public:
    void CreateDatabase( 
       String^ strDatabase
    ) 

    Parameters

    strDatabase
    The file name of EPLAN database or a string for selecting a SQL Server database. The syntax of that string is: "Server|Database|0" Windows authentication "Server|Database|2|Username|Password" SQL Server authentication, username and password not encrypted.
    Exceptions
    ExceptionDescription
    Thrown if null was passed as an argument.
    Thrown when empty string was passed as an argument.
    Thrown in case of problems with database creation.
    Remarks
    Beware: when database with given name already exists it will be overwritten.
    See Also