Поделиться через


IFsrmReportManager.SetReportSizeLimit Method (_FsrmReportLimit, Object)

 

Sets the current value of the specified report size limit.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

void SetReportSizeLimit(
    _FsrmReportLimit limit,
    object limitValue
)
void SetReportSizeLimit(
    _FsrmReportLimit limit,
    Object^ limitValue
)
abstract SetReportSizeLimit : 
        limit:_FsrmReportLimit *
        limitValue:Object -> unit
Sub SetReportSizeLimit (
    limit As _FsrmReportLimit,
    limitValue As Object
)

Parameters

  • limitValue
    Type: System.Object

    The 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.

Remarks

The following table lists the default limits for the _FsrmReportLimit enumeration values used for the limit parameter.

FsrmReportLimit_MaxDuplicateGroups

00 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
IFsrmReportManager Interface
Microsoft.Storage Namespace

Return to top