ICompactServerEnumUrlGroup::Clone method

Creates another ICompactServerEnumUrlGroup enumerator that contains the same enumeration state as the current one.

Using this method, a client can record a particular point in the enumeration sequence and then return to that point at a later time. The new enumerator supports the same interface as the original one.

Syntax

HRESULT Clone(
  [out]  ICompactServerEnumUrlGroup **ppEnum
);

Parameters

  • ppEnum [out]
    Receives the interface pointer to the enumeration object. If the method is unsuccessful, the value of this output variable is undefined. You must release ppEnum when done.

Return value

This method returns S_OK on success or one of the standard COM HRESULT values on error.

Requirements

Minimum supported client

None supported [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Redistributable

Windows Management Framework on Windows Server 2008 with SP2

Header

Managementserver.h

IDL

Managementserver.idl

Library

Managementserver.lib

See also

ICompactServerEnumUrlGroup

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012