Share via


SPMetabaseObject Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPMetabaseObject
    Microsoft.SharePoint.Administration.SPIisWebSite

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

Syntax

<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPMetabaseObject _
    Implements IDisposable

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

Remarks

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.

Thread Safety

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

See Also

Reference

SPMetabaseObject Members

Microsoft.SharePoint.Administration Namespace

Other Resources

Using the Metabase Reference Pages