nerdexam
Microsoft

70-448 · Question #160

70-448 Question #160: Real Exam Question with Answer & Explanation

Sign in or unlock 70-448 to reveal the answer and full explanation for question #160. The question stem and answer options stay visible for context.

Question

You are a database developer and you have about two years experience in creating business intelligence (BI) solutions by using SQL Server 2008. Now you are employed in a company which is named NaproStar and work as a developer of a SQL Server 2008 Reporting Services (SSRS) solution for the company. You use the solution to create a report, and then write the code segment in the report that is shown as the following: Private Shared Function GetMFromMeters(ByVal MetersPrice As Decimal) As Decimal If IsNothing (MetersPrice) Then Return Nothing Else Return MetersPrice * 1.78 End If End Function However, when you compile code segment, you will get errors. Now you get an order from your company CIO, according to his requirement, not only you should get the call of the GetMFromMeters function from other reports, but also you should have the code segment compiled without any errors. So what action should be performed to accomplish the tasks above?

Options

  • AThe function should be declared from Private Shared to Public Shared
  • BMicrosoft Visual Basic .NET should be used to create a custom assembly and then have the function
  • CThe Public keyword should be removed from the function definition
  • DThe Private keyword should be removed from the function definition
  • EThe Shared keyword should be removed from the function definition

Unlock 70-448 to see the answer

You've previewed enough free 70-448 questions. Unlock 70-448 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-448 Practice