You are developing a SQL Server 2008 Reporting Services (SSRS) report for Company.com.
Assembly should be created in order to run real-time lookup and currency conversion.
The assembly has a static class named daily which lives in the namespace HomeCalc.
there is a method called DMO which need two arguments, Cuurnt and HomeCalc
When the report is operating, you should reference the ToEUR method in an expression to convert USD to USO.
Which is the correct answer?
A.
You should use the expression of =Code. HomeCalc. Daily. USO (Fields! Cuurnt.Value,” DMO “)
B.
You should use the expression of =Code! HomeCalc. Daily. USO (Fields! Cuurnt.Value,” DMO”)
C.
You should use the expression of = HomeCalc. Daily.USO (Fields! Cuurnt.Value,”USD”)
D.
You should use the expression of = HomeCalc! Daily.USO (Fields! Cuurnt.Value,”USD”)
Explanation:
A little bit different wordingYou work as a database administrator at Domain.com. You are in the process of creating a SQL Server 2008 Reporting Services (SSRS) report for Domain.com.
You need the report to run real-time lookup and currency conversion. You thus create an assembly with static class named ConvertCurrency. ConvertCurrency is hosted in the namespace CKPrice. A method named DMO requires two arguments, ExchRate and Value.
You have to make sure that the ToEUR method is referenced in an expression to convert USD to EURO when the report is run. What should you do?
A. You should use the expression: = Code.CKPrice.ConvertCurrency.EURO(Fields!ExchRate.Value,”DMO”) to reference the ToEUR method.
B. You should use the expression: = Code!CKPrice.ConvertCurrency.USO (Fields!ExchRate.Value,”DMO”) to reference the ToEUR method.
C. You should use the expression: = CKPrice.ConvertCurrency.USO (Fields!ExchRate.Value,”USD”) to reference the ToEUR method.
D. You should use the expression: = CKPrice!ConvertCurrency.USO (Fields!ExchRate.Value,”USD”) to reference the ToEUR method.