CreateDatabase Method (ProjectManagement)
In This Topic
Create a new parts database.
Syntax
public void CreateDatabase(
string
)
public:
void CreateDatabase(
String^
)
Parameters
- strDatabase
- The file name of access 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
Exception | Description |
ArgumentNullException | Thrown if null was passed as an argument. |
ArgumentException | Thrown when empty string was passed as an argument. |
BaseException | Thrown in case of problems with database creation. |
See Also