IVssEnumMgmtObject::Clone method (vsmgmt.h)

The Clone method creates a copy of the specified list of enumerated elements by creating a copy of the IVssEnumMgmtObject enumerator object.

Syntax

HRESULT Clone(
  [in, out] IVssEnumMgmtObject **ppenum
);

Parameters

[in, out] ppenum

Address of an IVssEnumMgmtObject interface pointer. Set the value of this parameter to NULL before calling this method.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header vsmgmt.h

See also

IVssEnumMgmtObject