IKnowledgeWorkspace Interface
The IKnowledgeWorkspace interface, defines the methods and properties of, and is implemented by, the KnowledgeWorkspace object.
The KnowledgeWorkspace object represents a SharePoint Portal Server knowledge workspace. A knowledge workspace contains content-classes, property definitions, and catalogs, as well as the root categoriesfolder and the root documents folder.
The KnowledgeWorkspace object provides methods and properties for manipulating and enumerating the following schema objects:
Extends
IKnowledgeItem interface
Properties
The following table shows the properties of the IKnowledgeWorkSpace interface, the type of each property, and a brief description of each. All properties are read/write, except where noted.
Name | Type | Description |
---|---|---|
Catalog | Not supported. | |
CatalogName | Not supported. | |
ContentClass | [Visual Basic]String [C++]BSTR |
Uniform Resource Identifier (URI) of the content class that defines the properties for this object. This property is inherited from the KnowledgeItem object. |
ContentClasses | [Visual Basic]Variant [C++]VARIANT |
Content classes defined for the workspace. This is a read-only property. |
ContentClassObject | [Visual Basic]KnowledgeContentClass [C++]IKnowledgeContentClass |
KnowledgeContentClass object that defines the properties for this object. This is a read-only property inherited from the KnowledgeItem object. |
CreationDate | [Visual Basic]Date [C++]Date |
Date and time in Greenwich mean time (GMT) that the item was created in the local database or file system. This is a read-only property inherited from the KnowledgeItem object. |
DataSource | [Visual Basic]IDataSource [C++]IDataSource |
IDataSource interface for this object. This is a read-only property inherited from the KnowledgeItem object. |
Description | [Visual Basic]String [C++]BSTR |
Description of this object. This property is inherited from the KnowledgeItem object. |
DisplayName | [Visual Basic]String [C++]BSTR |
Name that is displayed for this object. This is a read-only property inherited from the KnowledgeItem object. |
Fields | [Visual Basic]String [C++]BSTR |
ActiveX Data Objects (ADO) fields collection associated with this object. This is a read-only property inherited from the KnowledgeItem object. |
GetLastModified | [Visual Basic]Date [C++]Date |
Date and time that in Greenwich mean time (GMT) the item was last modified in the local user's database or file system. This is a read-only property inherited from the KnowledgeItem object. |
Href | [Visual Basic]String [C++]BSTR |
Absolute URL of the item. This is a read-only property inherited from the KnowledgeItem object. |
Interfaces | [Visual Basic]Variant [C++]VARIANT |
List of interfaces that this object supports. This is a read-only property inherited from the KnowledgeItem object. |
Items | Not supported. | |
ObjectHandler | Not supported. | |
ParentName | Not supported. | |
PromptToAuthenticate | [Visual Basic]Boolean [C++]VARIANT_BOOL |
Flag that indicates whether to show an authentication dialog box when access fails. This property is inherited from the KnowledgeItem object. |
Property | [Visual Basic]Variant [C++]VARIANT |
Value of a specified property. This property is inherited from the KnowledgeItem object. |
PropertyDefs | [Visual Basic]Variant [C++]VARIANT |
Property definitions defined for the workspace. This is a read-only property. |
Title | [Visual Basic]String [C++]BSTR |
Short string that identifies the object. This property is inherited from the KnowledgeItem object. |
Methods
The following table shows the methods of the IKnowledgeWorkSpace interface, and a brief description for each.
Name | Description |
---|---|
CreateWorkspaceContent | Not supported. |
Delete | Deletes the object or its specified child objects. This method is inherited from the KnowledgeItem object. |
GetInterface | Gets a specified interface implemented by this object. This method is inherited from the KnowledgeItem object. |
GetObject | Gets the object identified by the specified URI. |
GetURI | Gets the URI of the specified object name. |
Import | Not supported. |
ImportSchema | Not supported. |
UpgradeWorkspace | Not supported. |
Example
To see this object in a fuller context, see Document Management Object Model Sample.
Requirements
- Type Library
Microsoft PKMCDO for Microsoft Web Storage System - Inproc Server
%Program Files%\Common Files\PKMCDO.dll
Related Topics
Binding to Items Stored in SharePoint Portal Server