16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 34<br />

The SharePoint Portal<br />

Server Object Model<br />

Introduction<br />

In this chapter:<br />

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 941<br />

The <strong>Microsoft</strong>.SharePoint.Portal Namespace . . . . . . . . . . . . . . . . . . . . . . 942<br />

<strong>Microsoft</strong>.SharePoint.Portal.Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . 942<br />

<strong>Microsoft</strong>.SharePoint.Portal.UserProfiles . . . . . . . . . . . . . . . . . . . . . . . . . . 943<br />

<strong>Microsoft</strong>.SharePoint.Portal.WebControls . . . . . . . . . . . . . . . . . . . . . . . . . 948<br />

Other Namespaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 949<br />

Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 950<br />

The <strong>Microsoft</strong> Office SharePoint Portal Server object model encompasses a number<br />

of namespaces—about 50 in total—that provide a way to manipulate SharePoint<br />

Portal Server configuration <strong>and</strong> information. Because the object model is so large, it<br />

cannot possibly be fully covered here; however, this chapter will discuss the most<br />

important <strong>and</strong> frequently used namespaces, classes, <strong>and</strong> methods. It will provide an<br />

overview of these components <strong>and</strong> provide samples useful for administrators.<br />

Out of the approximately 50 namespaces provided in the SharePoint Portal<br />

Server object model, only 16 of them are supported. The remaining namespaces are<br />

reserved for <strong>Microsoft</strong>’s internal use. If you were to go through some of the .aspx<br />

pages provided with SharePoint Portal Server, you might notice that the reserved<br />

namespaces are frequently used.<br />

This chapter will focus on the SharePoint Portal Server object model from the<br />

administrative perspective. It will cover the basics of the object model <strong>and</strong> provide<br />

some code samples that would be of use to administrators. Other general background<br />

information would be useful for administrators to know about, should they<br />

run into a problem with a Web Part or add-on, but the chapter does not provide<br />

941

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!