IKnowledgeServer Interface
The IKnowledgeServer interface defines the methods and properties of, and is implemented by, the KnowledgeServer object.
The KnowledgeServer object represents a knowledge server. The KnowledgeServer object provides methods for creating, deleting, and enumerating workspaces, as well as providing methods for the restore and backup of SharePoint Portal Server.
Extends
IKnowledgeItem interface
Properties
The following table shows the properties of the IKnowledgeServer interface, the type of each property, and a brief description of each. All properties are read/write, except where noted.
Name | Type | Description |
---|---|---|
CatalogsLocation | 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. |
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. |
DefaultWorkspace | Not supported. | |
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 in Greenwich mean time (GMT) that 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. |
IndexingConnectTimeout | Not supported. | |
IndexingDataTimeout | Not supported. | |
IndexingDefaultContentAccessAccountName | Not supported. | |
IndexingEmailAddress | Not supported. | |
IndexingLocalStoreAccessAccountName | Not supported. | |
IndexingLogsLocation | Not supported. | |
IndexingPerfLevel | Not supported. | |
IndexingPropagationAccountName | Not supported. | |
IndexingProxyAddress | Not supported. | |
IndexingProxyPortNumber | Not supported. | |
IndexingProxyUsageSetting | Not supported. | |
IndexingProxyBypassForLocal | Not supported. | |
IndexingProxyBypassForAddresses | Not supported. | |
IndexingSiteHitFrequencyRules | Not supported. | |
IndexingTempFilesLocation | Not supported. | |
IndexingUserAgent | Not supported. | |
Interfaces | [Visual Basic]Variant [C++]VARIANT |
List of interfaces that this object supports. This is a read-only property inherited from the KnowledgeItem object. |
Property | [Visual Basic]Variant [C++]VARIANT |
Value of a specified property. This property is inherited from the KnowledgeItem object. |
SearchingPerfLevel | Not supported. | |
SMTPServerName | [Visual Basic]String [C++]BSTR |
Name of the e-mail server for outgoing e-mail. |
Title | [Visual Basic]String [C++]BSTR |
Short string that identifies the object. This property is inherited from the KnowledgeItem object. |
Workspaces | [Visual Basic] _Recordset [C++] _Recordset |
Returns an ActiveX® Data Objects (ADO) recordset that contains all workspaces defined for this server. This is a read-only property. |
Methods
The following table shows the methods of the IKnowledgeServer interface, and a brief description for each.
Name | Description |
---|---|
AbortBackup | Aborts any backup or restore operations currently in progress. |
Backup | Starts a backup of the SharePoint Portal Server to a specified directory. |
BackupToStream | Starts a backup of the SharePoint Portal Server to a stream. |
CreateWorkspace | Creates a new KnowledgeWorkspace object on this server. |
GetBackupStatus | Gets the status of a backup or restore operation that is currently running. |
GetInterface | Gets a specified interface implemented by this object. This method is inherited from the KnowledgeItem object. |
Restore | Starts a restore of the SharePoint Portal Server from a specified directory. |
RestoreFromStream | Starts a restore of the SharePoint Portal Server from a stream. |
SetIndexingDefaultContentAccessAccount | Not supported. |
SetIndexingLocalStoreAccessAccount | Not supported. |
SetIndexingPropagationAccount | Not supported. |
SetIndexingProxySettings | Not supported. |
Remarks
The Absolute URL of a KnowledgeServer object is http://<computer name>/public/workspaces. This is different from the URL of a workspace. The latter takes the form http://<computer name>/<workspace name>. All other object URLs appear under a workspace.
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