Quick Check


1. 

What are the key SMO assemblies that need to be referenced in an SMO application?

image from book

2. 

How do you connect to a server using logon credentials?

image from book

3. 

What namespace is used by RMO to create an application that works with replication objects?

image from book

4. 

What function must be performed regardless of the type of replication you are using?

image from book

5. 

What are the main objects that can be used in an AMO application?

image from book

6. 

In an AMO application, what four objects are used to connect to a database?

image from book

7. 

What assembly enables you to connect to a client using ADOMD.NET?

image from book

Answers

1. 

For most SMO applications, you will need to reference the following assemblies:

  • Microsoft.SqlServer.Smo

  • Microsoft.SqlServer.SmoEnum

  • Microsoft.SqlServer.SqlEnum

  • Microsoft.SqlServer.ConnectionInfo

2. 

To connect to a server using logon credentials, you will need to set a reference to the Microsoft.SqlServer.ConnectionInfo assembly and a directive to the Microsoft.SqlServer.Management.Common namespace. You then specify the logon credentials using the ServerConnection object.

3. 

Even though there are two assemblies used in RMO applications, Microsoft.SqlServer.Replication and Microsoft.SqlServer.Rmo, there is only one namespace directive that you need to add to your code: Microsoft.SqlServer.Replication.

4. 

Regardless of what type of replication you are performing, you need to specify a publisher and a distributor. You also need to specify the publisher and distributor databases.

5. 

The main objects in an AMO application are Cube, Dimension, and MiningStructure. You will need to use the Server and Database objects to get to these objects.

6. 

To connect to a database with an AMO application, you need the Server and Database objects mentioned in the previous answer. You will also need DataSource and DataSourceView objects.

7. 

To connect to a client using ADOMD.NET, you will set a reference to the Microsoft.SqlServer.AdomdClient assembly. For server-based applications, you will use the Microsoft.SqlServer.AdomdServer assembly.




MCITP Self-Paced Training Kit Exam 70-442  .Designing and Optimizing Data Access by Using Microsoft SQL Server 2005
MCITP Self-Paced Training Kit Exam 70-442 .Designing and Optimizing Data Access by Using Microsoft SQL Server 2005
ISBN: 073562383X
EAN: N/A
Year: 2007
Pages: 162

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net