Name Property

The Name property specifies the name of the KnowledgeContentClass object.

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

[Visual Basic]

Parameters

None

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.

[C++]

Parameters

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.

Example

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