建立自動分類規則Create an Automatic Classification Rule

適用於:Windows Server (半年度管道)、Windows Server 2016、Windows Server 2012 R2、Windows Server 2012、Windows Server 2008 R2Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2

下列程序會引導您完成建立分類規則的流程。The following procedure guides you through the process of creating a classification rule. 每個規則都會為單一屬性設定其值。Each rule sets the value for a single property. 根據預設,規則只會執行一次,並忽略屬性值已指派的檔案。By default, a rule is run only once and ignores files that already have a property value assigned. 不過,您可以將規則設定成無論是否已指派值給屬性,都要評估檔案。However, you can configure a rule to evaluate files regardless of whether a value is already assigned to the property.

若要建立分類規則To create a Classification Rule

  1. 按一下 [分類管理] 中的 [分類規則] 節點。In Classification Management, click the Classification Rules node.

  2. [分類規則] 上按滑鼠右鍵,再按一下 [建立新的規則] (或按一下 [動作] 窗格中的 [建立新的規則])。Right-click Classification Rules, and then click Create a New Rule (or click Create a New Rule in the Actions pane). 如此會開啟 [分類規則定義] 對話方塊。This opens the Classification Rule Definitions dialog box.

  3. [規則設定] 索引標籤中,輸入下列資訊:On the Rule Settings tab, enter the following information:

    • [規則名稱]Rule name. 輸入規則的名稱。Type a name for the rule.
    • [已啟用]Enabled. 只有在選取 [已啟用] 核取方塊時,才能套用此規則。This rule will only be applied if the Enabled check box is selected. 若要停用此規則,請清除此方塊。To disable the rule, clear this box.
    • [描述]Description. 輸入此規則的選擇性說明。Type an optional description for this rule.
    • [領域]Scope. 按一下 [新增] 以選取此規則套用到的位置。Click Add to select a location where this rule will apply. 您可以新增多個位置,或是按一下 [移除] 來移除位置。You can add multiple locations, or remove a location by clicking Remove. 分類規則將會套用至此清單中的所有資料夾及其子資料夾。The classification rule will apply to all folders and their subfolders in this list.
  4. [分類] 索引標籤中,輸入下列資訊:On the Classification tab, enter the following information:

    • [分類機制]Classification mechanism. 選擇用於指派屬性值的方法。Choose a method for assigning the property value.
    • [屬性名稱]Property name. 選取此規則將會指派的屬性。Select the property that this rule will assign.
    • [屬性值]Property value. 選取此規則將會指派的屬性值。Select the property value that this rule will assign.
  5. 或者,按一下 [進階] 按鈕以選取其他選項。Optionally, click the Advanced button to select further options. [評估類型] 索引標籤上,[重新評估檔案] 預設為未核取狀態。On the Evaluation Type tab, the check box to Re-evaluate files is unchecked by default. 可在此處選取的選項,如下所示:The options that can be selected here are as follows:

    • [重新評估檔案] 未核取:只有規則所指定的屬性已指定為檔案中的任何值時,才會將規則套用至該檔案。Re-evaluate files unchecked: A rule is applied to a file if, and only if, the property specified by the rule has not been set to any value on the file.
    • [重新評估檔案] 已核取且 [覆寫現有的值] 選項已選取:每當自動分類程序執行時都會將規則套用至檔案。Re-evaluate files checked and the Overwrite the existing value option selected: the rule will be applied to the files every time the automatic classification process runs. 例如,如果檔案的布林值屬性設為 [是],當規則在該選項已設定的情況下,使用資料夾分類器將所有檔案設為 [否] 時,此規則將會使該屬性保持設為 [否]For example, if a file has a Boolean property that is set to Yes, a rule using the folder classifier to set all files to No with this option set will leave the property set to No.
    • [重新評估檔案] 已核取且 [彙總值] 選項已選取:每當自動分類程序執行時都會將規則套用至檔案。Re-evaluate files checked and the Aggregate the values option selected: The rule will be applied to the files every time the automatic classification process runs. 不過,當規則已決定要將屬性檔案設定為何值時,規則會將該值與檔案中已使用的值進行合計。However, when the rule has decided what value to set the property file to, it aggregates that value with the one already in the file. 例如,如果檔案的布林值屬性設為 [是],當規則在該選項已設定的情況下,使用資料夾分類器將所有檔案設為 [否] 時,此規則將會使該屬性保持設為 [是]For example, if a file has a Boolean property that is set to Yes, a rule using the folder classifier to set all files to No with this option set will leave the property set to Yes.

    [其他分類參數] 索引標籤上,您可在輸入名稱和值後按一下 [插入] 按鈕,藉以指定可由所選分類方法辨識的其他參數。On the Additional Classification Parameters tab, you can specify additional parameters that are recognized by the selected classification method by entering the name and value and clicking the Insert button.

  6. 按一下 [確定][取消] 以關閉 [進階] 對話方塊。Click OK or Cancel to close the Advanced dialog box.

  7. 按一下 [確定]Click OK.

請參閱See also