IProcedureReaderExecuteScalar Method

Alterian Email Manager 6.2.3 SDK Help File
Execute a query that takes a collection of sql parameters and returns a scalar value

Namespace:  DMLibrary.SEV
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
Object ExecuteScalar(
	string connectionString,
	string storedProcedureName,
	SqlParameter[] parameters,
	int commandTimeout = 30
)

Parameters

connectionString
Type: SystemString
storedProcedureName
Type: SystemString
parameters
Type: System.Data.SqlClientSqlParameter
commandTimeout (Optional)
Type: SystemInt32
Defaulted to 30 seconds (as the SqlCommand default value)

Return Value

Type: Object
See Also