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.
Executes the query and returns a value from the query.

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

Syntax

C#Copy imageCopy Code
public static <T> ExecuteScalar<T>(
	string commandText,
	params [] parameters
)
Visual Basic (Declaration)Copy imageCopy Code
Public Shared Function ExecuteScalar(Of T) ( _
	commandText As , _
	ParamArray parameters As () _
) As (Of T)

Parameters

commandText
String
parameters
array<Object>[]()

Return Value

Type Parameters

T

See Also

Advanced