Adding a Microsoft SQL Server 2005 Database

This method adds a Microsoft SQL Server 2005 database, to the Parallels Pro Control Panel server.

Method

public void AddMSSQLDatabase (string DatabaseName, string username, string password)

Parameters

  • DatabaseName, which is the name of the SQL 2005 database to be created
  • username, which is the username of the site administrator
  • password, which is the password of the site administrator

Return Value

none

Note: For successful Microsoft SQL Server 2005 database creation, the server administrator must select the option enable database management during site creation.

Example Code:

w.AddMSSQLDatabase("wstestdb", "admin@mysite.com", "ensim123");