IKnowledgeMessage Interface

The IKnowledgeMessage interface provides the set of common properties and methods inherited by:

The IKnowledgeMessage interface cannot be instantiated as a separate object. The IKnowledgeMessage interface is not addressed explicitly because all of the document management objects directly expose its methods and properties.

Extends

IKnowledgeItem interface

Properties

The following table shows the properties of the IKnowledgeMessage interface, the type of each property, and brief descriptions of each. All properties are read/write, except where noted.

Name Type Description
AutoVersion   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.
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.
GetContentLength

[Visual Basic]Long

[C++]long

Length of the document. This is a read-only property.
GetContentType

[Visual Basic]String

[C++]BSTR

Type of the document. This is a read-only property.
GetETag   Not supported.
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.
Interfaces

[Visual Basic]Variant

[C++]VARIANT

List of interfaces that this object supports. This is a read-only property inherited from the KnowledgeItem object.
IsHidden

[Visual Basic]Boolean

[C++]VARIANT_BOOL

Flag that indicates whether the item is hidden. This property is inherited from the KnowledgeItem object.
IsReadOnly

[Visual Basic]Boolean

[C++]VARIANT_BOOL

Flag that indicates whether the item is read-only. This property is inherited from the KnowledgeItem object.
IsVersioned   Not supported.
IsStructuredDocument   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.
TargetWorkspace   Not supported.
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 IKnowledgeMessage interface, with brief descriptions for each.

Name Description
Copy Copies the object to a new location. This method is inherited from the KnowledgeItem object.
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.
Move Moves the object to a new location. This overwrites any previously existing object of the same name without prompting for confirmation. This method is inherited from the KnowledgeItem object.
OpenStream Opens the data stream. The content of a document is contained in the stream.

Addressing by Using URLs

Binding to Items Stored in SharePoint Portal Server

SharePoint Portal Server Code Practices

Using the Document Management Object Model