IFsrmMutableCollection::GetById Method

Retrieves the specified object from the collection.

Syntax

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

Parameters

  • id [in]
    Identifies the object to retrieve from the collection.

  • entry [out]
    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.

Return code Description
S_OK

Success

E_NOTIMPL

This method is not implemented.

FSRM_E_NOT_FOUND

The specified object was not found.

 

Requirements

Minimum supported client None supported
Minimum supported server Windows Server 2008
Header Fsrm.h (include FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

See Also

IFsrmMutableCollection

Send comments about this topic to Microsoft

Build date: 4/30/2009