Click or drag to resize
DatabaseSeparationHelper Class
Sets of methods used for database separation
Inheritance Hierarchy
SystemObject
  CMS.DataEngineDatabaseSeparationHelper

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public class DatabaseSeparationHelper

The DatabaseSeparationHelper type exposes the following members.

Constructors
  NameDescription
Public methodDatabaseSeparationHelper
Top
Fields
  NameDescription
Public fieldStatic memberOM_CONNECTION_STRING
On-line marketing connection string name
Top
Properties
  NameDescription
Public propertyAllowCopyDataThroughApplication
If true, the helper is allowed to copy the database data through the application instance during separation if linked server feature is not available.
Public propertyStatic memberConnStringSeparate
Connection string for separated DB.
Public propertyStatic memberConnStringSeparateName
Connection string name for separated DB.
Public propertyInstallationConnStringSeparate
Installation connection string for separated DB.
Public propertyInstallScriptsFolder
Folder where SQL installation scripts are placed.
Public propertyLogMessage
Method for logging.
Public propertyScriptsFolder
Folder where SQL separation scripts are placed.
Public propertyStatic memberSeparationInProgress
Indicates if DB separation is in progress.
Public propertyStatic memberSeparationStartedByServer
Indicates what web farm server started DB separation.
Top
Methods
  NameDescription
Public methodStatic memberCheckCMDatabase
Checks if database is installed with contact management tables.
Public methodStatic memberCheckDBSeparation
Check that DB separation is successfully finished. Returns false, and sets up connection error message in case it isn't
Public methodDeleteSourceTables
Modifies old database.
Public methodJoinDatabase
Joins databases.
Public methodSeparateDatabase
Separates Database.
Top
See Also