Name Property

The Name property specifies the name of the KnowledgeContentClass object.

Property Name As String[C++]
Get method:
HRESULT get_Name(BSTR*pName);
Put method:
HRESULT put_Name(BSTRvarName);

[Visual Basic]



Return Values

This property returns a String that specifies the name.

Error Values

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



Get method:

  • pName
    [out, retval] Pointer to a BSTR that specifies the name

Put method:

  • varName
    [in] BSTR that specifies the name
Return Values

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


To see this property in a fuller context, see Document Management Object Model Sample.