CSBaseGetConnectionStringFromConnectionId Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Returns the connection string to a Content Studio Site.

Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

protected static string GetConnectionStringFromConnectionId(
	ConnectionId connectionId
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site.

Return Value

Type: String
The connection string to the Content Studio site database
Remarks

This method is available to inheriting classes starting with Content Studio version 5.2

Note Note
Important.
Only classes that runs in the context of Content Studio server (via remoting) should open direct connections to the site database!
See Also

Reference