Export (0) Print
Expand All

IFsrmCollection::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 codeDescription
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)

DLL

SrmSvc.dll

IID

IID_IFsrmCollection is defined as:
  • f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8
  • f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8

See also

IFsrmCollection

 

 

Show:
© 2014 Microsoft