Databases Reference
In-Depth Information
FIGURE 33.1
The New Project dialog box is your starting point.
NOTE
There are various ways to create a project. The most straightforward way is from the
File menu: Click File, point to New, and then click Project.
Under Project Types, select the language you want to use. Our examples are written in C#,
so choose C# as the language for your project. In some of the samples in this chapter, we
use Windows user interface controls; in others, we show plain console applications with
text output. For the first type of application, under Visual Studio Installed Templates,
select Windows Forms Application (for the second type, you would select Console
Application). In the Name box, name the project AdomdUISample . Click OK to create the
project.
Before you can start using ADOMD.NET in your code, you have to reference the assembly
that contains ADOMD.NET. Right-click References in the tree view on the left, and then
click Add Reference, as shown in Figure 33.2.
The Add Reference dialog box appears, as shown in Figure 33.3.
Use this dialog box to select Microsoft.AnalysisServices.AdomdClient as a referenced
assembly. Now right-click the Form box on the right, and then click View Code.
Search WWH ::




Custom Search