PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Creates a (custom) database connection, based on the database id specified
(corresponding with an database id within Smartsite.Data.config).
This method must be called when this class is used outside a running instance of the publication engine.
Namespace: Smartsite.Security
Assembly: Smartsite.Security (in Smartsite.Security.dll)
Syntax
C# | Copy Code |
---|---|
public virtual void CreateDatabase( string siteRootPath, string databaseId ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Overridable Sub CreateDatabase ( _ siteRootPath As , _ databaseId As _ ) |
Parameters
- siteRootPath
- String
The site root path.
- databaseId
- String
The database id.
See Also
DirectoryGateway Class
Smartsite.Security Namespace