Click or drag to resize
DataConnectionFactoryGetNativeConnection Method
Returns a new database connection.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static IDataConnection GetNativeConnection(
	string connectionString,
	bool newConnection = false
)

Parameters

connectionString
Type: SystemString
Connection string
newConnection (Optional)
Type: SystemBoolean
If true, a new connection instance is created

Return Value

Type: IDataConnection
See Also