IFsrmReportManager.SetDefaultFilter Method (_FsrmReportType, _FsrmReportFilter, Object)
Sets the default report filter value to use with the specified report type.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
void SetDefaultFilter(
_FsrmReportType reportType,
_FsrmReportFilter filter,
object filterValue
)
void SetDefaultFilter(
_FsrmReportType reportType,
_FsrmReportFilter filter,
Object^ filterValue
)
abstract SetDefaultFilter :
reportType:_FsrmReportType *
filter:_FsrmReportFilter *
filterValue:Object -> unit
Sub SetDefaultFilter (
reportType As _FsrmReportType,
filter As _FsrmReportFilter,
filterValue As Object
)
Parameters
reportType
Type: Microsoft.Storage._FsrmReportTypeThe report type. For possible values, see the _FsrmReportType enumeration.
filter
Type: Microsoft.Storage._FsrmReportFilterReport filter. For possible values, see the _FsrmReportFilter enumeration
filterValue
Type: System.ObjectThe default report filter value.
Remarks
This value is used if the SetFilter method was not called to specify a filter value for the report.
Note that each report type supports a specific set of filters. To determine if the filter is valid, call the IsFilterValidForReportType method.
The following table lists the variant types associated with the _FsrmReportFilter enumeration values used for the filterValue parameter.
Filter type |
Variant type |
---|---|
FsrmReportFilter_FileGroups |
VT_BSTR | VT_ARRAY. Set the parray member of the variant. |
FsrmReportFilter_MinAgeDays |
VT_I4. Set the lVal member of the variant. |
FsrmReportFilter_MaxAgeDays |
VT_I4. Set the lVal member of the variant. |
FsrmReportFilter_MinQuotaUsage |
VT_I4. Set the lVal member of the variant. |
FsrmReportFilter_MinSize |
VT_I8. Set the llVal member of the variant. |
FsrmReportFilter_NamePattern |
VT_BSTR. Set the bstrVal member of the variant. |
FsrmReportFilter_Owners |
VT_BSTR | VT_ARRAY. Set the parray member of the variant. |
FsrmReportFilter_Property |
VT_BSTR. Set the bstrVal member of the variant. |
See Also
FsrmReportManager
IFsrmReportManager Interface
Microsoft.Storage Namespace
Return to top