Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the default report filter value to use with the specified report type.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
public virtual void SetDefaultFilter(
_FsrmReportType reportType,
_FsrmReportFilter filter,
object filterValue
)
public:
virtual void SetDefaultFilter(
_FsrmReportType reportType,
_FsrmReportFilter filter,
Object^ filterValue
)
abstract SetDefaultFilter :
reportType:_FsrmReportType *
filter:_FsrmReportFilter *
filterValue:Object -> unit
override SetDefaultFilter :
reportType:_FsrmReportType *
filter:_FsrmReportFilter *
filterValue:Object -> unit
Public Overridable 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._FsrmReportFilterThe report filter. For possible values, see the FsrmReportFilter enumeration.
filterValue
Type: System.ObjectThe default report filter value.
Implements
IFsrmReportManager.SetDefaultFilter(_FsrmReportType, _FsrmReportFilter, Object)
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
FsrmReportManagerClass Class
Microsoft.Storage Namespace
Return to top