ISyncKnowledge::Clone method (winsync.h)

Creates a new instance of this object, and copies the data from this object to the new object.

Syntax

HRESULT Clone(
  [out] ISyncKnowledge **ppClonedKnowledge
);

Parameters

[out] ppClonedKnowledge

Returns the newly created knowledge object.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_INVALIDARG
E_OUTOFMEMORY

Remarks

The cloned knowledge object can be used independently of the original.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ISyncKnowledge Interface