Workspace Property

The Workspace property returns the KnowledgeWorkspace object that contains the folder.

Property Workspace As KnowledgeWorkspace[C++]
Get method:
HRESULT get_Workspace(IKnowledgeWorkspace**varWorkspace);

[Visual Basic]

Parameters

None.

Return Values

This property returns a KnowledgeWorkspace object.

Error Values

If an error is raised, Err.Number is set to one of the values documented on the Error Messages page.

[C++]

Parameters

Get method:

  • varWorkspace
    [out, retval] Address of a pointer to the KnowledgeWorkspace object.
Return Values

For a list of error messages returned by SharePoint Portal Server, see Error Messages.

Remarks

This is a read-only property. The Workspace property corresponds to urn:schemas-microsoft-com:publishing:workspacename.