Kentico 9.0 API Reference
Kentico 9.0 API Reference
Namespaces
CMS.DataEngine
GeneralConnection Class
GeneralConnection Methods
BulkInsert Method
Close Method
Dispose Method
ExecuteNonQuery Method
ExecuteQuery Method
ExecuteReader Method
ExecuteScalar Method
GetExecutingConnection Method
GetObjectData Method
IsOpen Method
LogQueryEnd Method
LogQueryStart Method
Open Method
RunQuery Method
GeneralConnection
ExecuteScalar Method
Runs the query and returns result as a single value.
Namespace:
CMS.DataEngine
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
Copy
public
virtual
Object
ExecuteScalar
(
QueryParameters
query
)
Parameters
query
Type:
CMS.DataEngine
QueryParameters
Query parameters
Return Value
Type:
Object
See Also
Reference
GeneralConnection Class
CMS.DataEngine Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com