The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.ExecuteScalar Method

Name Description
ExecuteScalar(String)

Executes the specified SQL query and returns the first column of the first row in the result set returned by the query.

ExecuteScalar(String, Object[])

Executes the specified SQL query and returns the first column of the first row in the result set returned by the query.

ExecuteScalar(String, String[], Object[])

Executes the specified SQL query and returns the first column of the first row in the result set returned by the query.