Microsoft.SharePoint.Administration Namespace

The Microsoft.SharePoint.Administration namespace is used for managing the server or server farm in a deployment of Microsoft® Windows® SharePoint™ Services. Its major classes include SPGlobalAdmin, the top-level administrative class that provides access to all servers and usage settings in the deployment, and SPVirtualServer, class that represents a virtual server and provides access to server-wide settings.

Classes

The following table lists the classes of the Microsoft.SharePoint.Administration namespace and shows a brief description of each.

Name Description
SPAlternateUrl Represents an incoming URL and the zone with which it is associated.
SPAlternateUrlCollection Represents a collection of SPAlternateUrl objects.
SPConfigDatabase Represents the configuration database in a Microsoft Windows SharePoint Services deployment.
SPContentDatabase Represents a content database in the Microsoft Windows SharePoint Services deployment.
SPContentDatabaseCollection Represents a collection of SPContentDatabase objects.
SPGlobalAdmin Represents the top-level object for administration of a Microsoft Windows SharePoint Services deployment.
SPGlobalConfig Represents configuration settings that apply throughout the Microsoft Windows SharePoint Services deployment.
SPPrefix Represents a specified relative URL that is used to determine whether Microsoft Windows SharePoint Services or Microsoft Internet Information Services (IIS) handles the request.
SPPrefixCollection Represents a collection of SPPrefix objects.
SPQuota Represents a quota that limits the system resources allocated to users.
SPQuotaTemplate Represents a reusable definition of a set of quotas that are applied to SharePoint sites in the deployment, including the messages associated with each quota and warning threshold.
SPQuotaTemplateCollection Represents a collection of SPQuotaTemplate objects.
SPSiteCollection Represents a collection of SPSite objects, or site collections, on a virtual server.
SPUsage Provides a property to return the localized names of the report types that are used in usage reports.
SPUsageSettings Encapsulates settings for usage analysis and logging in the Microsoft Windows SharePoint Services deployment.
SPVirtualServer Represents the top-level object for a virtual server in Microsoft Windows SharePoint Services.
SPVirtualServerCollection Represents a collection of SPVirtualServer objects.
SPVirtualServerConfig Represents the configuration settings for a virtual server.
SPWebServer Represents a front-end Web server in a server farm.
SPWebServerCollection Represents a collection of SPWebServer objects.

Enumerations

The following table lists the enumerations of the Microsoft.SharePoint.Administration namespace and shows a brief description of each.

Name Description
SPPrefixType Specifies which part of a URL namespace used on the virtual server belongs to Microsoft Windows SharePoint Services.
SPUrlZone Specifies the originating zone of a request received by Windows SharePoint Services.
SPUsagePeriodType Specifies the time interval on which a usage report for a Web site is based.
SPUsageReportType Specifies the type of information returned in a usage report for a SharePoint site.
SPVirtualServerState Specifies the status of a virtual server relative to a deployment of Microsoft Windows SharePoint Services.