PrepAway - Latest Free Exam Questions & Answers

Which is the correct answer?

You are developing a SQL Server 2008 Reporting Services (SSRS) solution for
Company.com.
The codes in the report listed below:
Private Shared Function GetResultFromPar(ByVal TestValue As Double ) As Double
If IsNothing(TestValue) Then
Return NothingElseReturn InchValue * 3.15
End If
End Function
The above function will display error when you compile the codes.
You should make sure that conditions listed below are required:
*The code segment compiles normally.
*The GetResultFromPar function could be implemented from other reports.
Which is the correct answer?

PrepAway - Latest Free Exam Questions & Answers

A.
You should delete the ByVal keyword from the function definition.

B.
You should delete the Shared keyword from the function definition.

C.
You should create the function as protected Shared instead of Public Shared.

D.
Before declaring the function as Public Shared, you should develop a custom assembly
through utilizing Microsoft Visual Basic .NET.


Leave a Reply