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 current value of the specified report size limit.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
public virtual void SetReportSizeLimit(
_FsrmReportLimit limit,
object limitValue
)
public:
virtual void SetReportSizeLimit(
_FsrmReportLimit limit,
Object^ limitValue
)
abstract SetReportSizeLimit :
limit:_FsrmReportLimit *
limitValue:Object -> unit
override SetReportSizeLimit :
limit:_FsrmReportLimit *
limitValue:Object -> unit
Public Overridable Sub SetReportSizeLimit (
limit As _FsrmReportLimit,
limitValue As Object
)
Parameters
limit
Type: Microsoft.Storage._FsrmReportLimitIdentifies the limit which is used to limit the files listed in a report. For possible values, see the _FsrmReportLimit enumeration.
limitValue
Type: System.ObjectThe limit. Must be greater than zero. You can specify the variant as a short, int, or long that is either signed or unsigned. The method will also accept a string value. The method must be able to convert the value to a positive, long number. For example, to pass the value as a long, set the variant type to VT_I4 and then set the lVal member of the variant to the limit value.
Implements
IFsrmReportManager.SetReportSizeLimit(_FsrmReportLimit, Object)
Remarks
The following table lists the default limits for the _FsrmReportLimit enumeration values used for the limit parameter.
Limit |
Default value |
|---|---|
FsrmReportLimit_MaxDuplicateGroups |
100 duplicate groups |
FsrmReportLimit_MaxFiles |
1,000 files |
FsrmReportLimit_MaxFileGroups |
10 groups |
FsrmReportLimit_MaxFileScreenEvents |
1,000 file screen events |
FsrmReportLimit_MaxFilesPerDuplGroup |
10 files per duplicate group |
FsrmReportLimit_MaxFilesPerFileGroup |
100 files per group |
FsrmReportLimit_MaxFilesPerOwner |
100 files per owner |
FsrmReportLimit_MaxFilesPerPropertyValue |
100 files per property |
FsrmReportLimit_MaxOwners |
10 owners |
FsrmReportLimit_MaxPropertyValues |
10 properties |
FsrmReportLimit_MaxQuotas |
1,000 quotas |
FsrmReportLimit_MaxFolders |
1,000 folders |
See Also
FsrmReportManager
FsrmReportManagerClass Class
Microsoft.Storage Namespace
Return to top