IFsrmCollection::GetById method (fsrm.h)

Retrieves the specified object from the collection.

Syntax

HRESULT GetById(
  [in]  FSRM_OBJECT_ID id,
  [out] VARIANT        *entry
);

Parameters

[in] id

Identifies the object to retrieve from the collection.

[out] entry

A VARIANT that contains the retrieved object. The variant type is VT_DISPATCH. Use the pdispVal member to access the IDispatch interface of the object.

Return value

The method returns the following return values.

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