Managing Schema Objects

Schema objects define structures within a SharePoint Portal Server store. Schema objects function in the context of the workspace and are accessible using the GetObject method on the KnowledgeWorkspace object.

The object model facilitates schema manipulation by exposing the properties on the schema object definitions as Component Object Model (COM) properties on the corresponding objects:

Figure 7: Schema Objects

The preceding figure shows an example of the use of the schema objects. Each KnowledgeContentClass object is associated with a list of properties. Each KnowledgeContentClass object specifies one or more KnowledgePropertyDef objects. Each KnowledgePropertyDef object defines a property, known as metadata, belonging to the content class. The KnowledgeDictionary object provides values for a property defined by a KnowledgePropertyDef object. Multiple KnowledgePropertyDef objects can share a single KnowledgeDictionary object.

This section includes the following topics:

Workspaces