You create a report in SQL Server 2008 Reporting Services (SSRS) solution. You write the
following code segment in the report.
The code segment generates errors when compiled.
You need to ensure that the following requirements are met:
The code segment compiles successfully.
The GetCmFromInches function can be called from other reports.
What should you do?
A.
Remove the Private keyword from the function definition.
B.
Remove the Shared keyword from the function definition.
C.
Declare the function as Public Shared instead of Private Shared.
D.
Create a custom assembly by using Microsoft Visual Basic .NET. Declare the function as
Public Shared.