This documentation is archived and is not being maintained.

SPMetabaseObject Class

Windows SharePoint Services 3

Represents an object that is persisted in the Internet Information Services (IIS) metabase.


Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPMetabaseObject : IDisposable

The metabase is a structure for storing Internet Information Services (IIS) configuration settings. It performs some of the same functions as the Windows system registry but is specific to Internet Information Services.

When IIS starts, it loads the metabase into memory, where it is available until IIS shuts down. The metabase is organized in a hierarchical structure that mirrors the structure of the IIS installation. It is made up of nodes, keys, and subkeys. The main organization is by node, with each node in the metabase structure representing a site or directory. Beneath the nodes are keys that may contain one or more IIS configuration values called metabase properties. The metabase keys correspond to individual configuration elements of IIS; each key contains properties that affect the configuration of its associated directory or site.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.