This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets the current database id ('Default' if not set).

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "Sql.GetDatabase")]
public static string GetDatabase(
	 context
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "Sql.GetDatabase")> _
Public Shared Function GetDatabase ( _
	context As  _
) As 

Parameters

context
IRenderContext
The context.

Return Value

String

See Also

Advanced