次の方法で共有


IFsrmReportManager::SetReportSizeLimit メソッド (fsrmreports.h)

指定したレポート サイズ制限の現在の値を設定します。

構文

HRESULT SetReportSizeLimit(
  [in] FsrmReportLimit limit,
  [in] VARIANT         limitValue
);

パラメーター

[in] limit

レポートに一覧表示されるファイルを制限するために使用される制限を識別します。 指定できる値については、 FsrmReportLimit 列挙を参照してください。

[in] limitValue

制限。 0 より大きくなければなりません。 バリアントは、符号付きまたは符号なしのいずれかの短い、int、または long として指定できます。 メソッドは、文字列値も受け入れます。 メソッドは、値を正の長い数値に変換できる必要があります。 たとえば、値を long として渡すには、バリアント型を VT_I4 に設定し、バリアントの lVal メンバーを制限値に設定します。

戻り値

メソッドは、次の戻り値を返します。

解説

次の一覧は、limit パラメーターに使用される FsrmReportLimit 列挙値の既定の 制限 の一覧です。

制限 既定値
FsrmReportLimit_MaxDuplicateGroups 100 個の重複するグループ
FsrmReportLimit_MaxFiles 1,000 ファイル
FsrmReportLimit_MaxFileGroups 10 グループ
FsrmReportLimit_MaxFileScreenEvents 1,000 個のファイル画面イベント
FsrmReportLimit_MaxFilesPerDuplGroup 重複するグループごとに 10 個のファイル
FsrmReportLimit_MaxFilesPerFileGroup グループあたり 100 ファイル
FsrmReportLimit_MaxFilesPerOwner 所有者あたり 100 個のファイル
FsrmReportLimit_MaxFilesPerPropertyValue プロパティあたり 100 ファイル
FsrmReportLimit_MaxOwners 所有者 10 人
FsrmReportLimit_MaxPropertyValues 宿泊施設10軒
FsrmReportLimit_MaxQuotas 1,000 クォータ
FsrmReportLimit_MaxFolders 1,000 個のフォルダー

要件

   
サポートされている最小のクライアント サポートなし
サポートされている最小のサーバー Windows Server 2008
対象プラットフォーム Windows
ヘッダー fsrmreports.h (FsrmReports.h、FsrmTlb.h を含む)
[DLL] SrmSvc.dll

関連項目

FsrmReportManager

IFsrmReportManager