IFsrmCollection::get__NewEnum method (fsrm.h)

Retrieves the IUnknown pointer of a new IEnumVARIANT enumeration for the items in the collection.

This property is read-only.

Syntax

HRESULT get__NewEnum(
  IUnknown **unknown
);

Parameters

unknown

Return value

None

Remarks

C/C++ users use this method to enumerate items in the collection. Call the QueryInterface of the IUnknown interface to get the IEnumVARIANT interface. Use the IEnumVARIANT::Next method to enumerate the items of the collection. The items are returned as VARIANT values.

If the collection contains interfaces, the variant type is VT_DISPATCH. Call the QueryInterface method on the pdispVal member of the variant to get an interface to the specific object. For example, if the collection contains report objects, you would query the pdispVal member for the IFsrmReport interface.

If the item is an HRESULT value, the variant type is VT_I4. Use the lVal member of the variant to get the HRESULT value.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows ServerĀ 2008
Target Platform Windows
Header fsrm.h (include FsrmQuota.h, FsrmReports.h, FsrmScreen.h)
DLL SrmSvc.dll

See also

IFsrmCollection