ReportTypes property
Collapse the table of content
Expand the table of content

IFsrmActionReport::ReportTypes property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAction, MSFT_FSRMFMJAction, and MSFT_FSRMFMJNotificationAction classes.]

Retrieves or sets the types of reports to generate.

This property is read/write.

Syntax


HRESULT put_ReportTypes(
  [in]  SAFEARRAY(VARIANT) *reportTypes
);

HRESULT get_ReportTypes(
  [out] SAFEARRAY(VARIANT) **reportTypes
);

Property value

A SAFEARRAY of VARIANTs that contains one or more unique report types to generate. Set the variant type of each VARIANT to VT_I4. Use the lVal member to specify the report type value. For possible values, see the FsrmReportType enumeration.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The reportTypes parameter is NULL, not valid, or the report type has already been specified.

Examples

For an example, see Updating a Quota.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmQuota.h or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmActionReport is defined as 2dbe63c4-b340-48a0-a5b0-158e07fc567e

See also

IFsrmActionReport
MSFT_FSRMAction
MSFT_FSRMFMJAction
MSFT_FSRMFMJNotificationAction

 

 

Show:
© 2016 Microsoft