共用方式為


SPMetabaseObject Class

Represents an object that is persisted in the Internet Information Services (IIS) configuration store (previously referred to as ‘metabase’).

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPMetabaseObject _
    Implements IDisposable
'Usage
Dim instance As SPMetabaseObject
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPMetabaseObject : IDisposable

Remarks

The configuration store 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 configuration store into memory, where it is available until IIS shuts down. The configuration store 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 configuration store structure representing a site or directory. Beneath the nodes are keys that may contain one or more IIS configuration values called configuration store properties. The configuration store 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