設定目標優先順序以覆寫轉介順序Set target priority to override referral ordering

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

轉介是排序的目標清單,當使用者存取命名空間根目錄或命名空間中包含目標的資料夾時,用戶端電腦會從網域控制站或命名空間伺服器收到轉介。A referral is an ordered list of targets that a client computer receives from a domain controller or namespace server when the user accesses a namespace root or folder with targets in the namespace. 轉介中的每一個目標皆根據命名空間根目錄或資料夾的排序方法來排序。Each target in a referral is ordered according to the ordering method for the namespace root or folder.

若要修訂目標的排序方式,可在個別目標上設定優先順序。To refine how targets are ordered, you can set priority on individual targets. 例如,可將目標指定為所有目標中的第一個目標、所有目標中的最後一個目標,或所有相同成本之目標中的第一個目標 (或最後一個目標)。For example, you can specify that the target is first among all targets, last among all targets, or first or last among all targets of equal cost.

針對網域型命名空間設定根目標的目標優先順序To set target priority on a root target for a domain-based namespace

若要針對網域型命名空間,設定根目標的目標優先順序,請使用下列程序:To set target priority on a root target for a domain-based namespace, use the following procedure:

  1. 按一下 [開始],指向 [系統管理工具],然後按一下 [DFS 管理]Click Start, point to Administrative Tools, and then click DFS Management.

  2. 在主控台樹狀目錄的 [命名空間] 節點下,按一下要設定根目標優先順序的網域型命名空間。In the console tree, under the Namespaces node, click the domain-based namespace for the root targets for which you want to set priority.

  3. [詳細資料] 窗格的 [命名空間伺服器] 索引標籤上,以滑鼠右鍵按一下要變更優先順序的根目標,然後按一下 [內容]In the Details pane, on the Namespace Servers tab, right-click the root target with the priority that you want to change, and then click Properties.

  4. [進階] 索引標籤上,按一下 [覆寫轉介順序],然後按一下所需的優先順序。On the Advanced tab, click Override referral ordering, and then click the priority you want.

    • [所有目標中的第一個目標] 指定如果目標為可用時,永遠將使用者轉介到此目標。First among all targets Specifies that users should always be referred to this target if the target is available.
    • [所有目標中的最後一個目標] 指定只有在其他所有目標都無法使用時,才可將使用者轉介到此目標。Last among all targets Specifies that users should never be referred to this target unless all other targets are unavailable.
    • [相同成本之目標中的第一個目標] 指定在目標成本相同時,優先將使用者轉介到此目標 (通常表示相同站台中的其他目標)。First among targets of equal cost Specifies that users should be referred to this target before other targets of equal cost (which usually means other targets in the same site).
    • [相同成本之目標中的最後一個目標] 指定如果目標成本相同且其他目標可用時,永遠不要將使用者轉介到此目標 (通常表示相同站台中的其他目標)。Last among targets of equal cost Specifies that users should never be referred to this target if there are other targets of equal cost available (which usually means other targets in the same site).

設定資料夾目標的目標優先順序To set target priority on a folder target

若要設定資料夾目標的目標優先順序,請使用下列程序:To set target priority on a folder target, use the following procedure:

  1. 按一下 [開始],指向 [系統管理工具],然後按一下 [DFS 管理]Click Start, point to Administrative Tools, and then click DFS Management.

  2. 在主控台樹狀目錄的 [命名空間] 節點下,按一下要設定優先順序之目標的資料夾。In the console tree, under the Namespaces node, click the folder of the targets for which you want to set priority.

  3. [詳細資料] 窗格的 [資料夾目標] 索引標籤上,以滑鼠右鍵按一下要變更優先順序的資料夾目標,然後按一下 [內容]In the Details pane, on the Folder Targets tab, right-click the folder target with the priority that you want to change, and then click Properties .

  4. [進階] 索引標籤上,按一下 [覆寫轉介順序],然後按一下所需的優先順序。On the Advanced tab, click Override referral ordering and then click the priority that you want.

注意

若要使用 Windows PowerShell 來設定目標優先順序,請使用 Set-DfsnRootTargetSet-DfsnFolderTarget Cmdlet 與 ReferralPriorityClassReferralPriorityRank 參數。To set target priorities by using Windows PowerShell, use the Set-DfsnRootTarget and Set-DfsnFolderTarget cmdlets with the ReferralPriorityClass and ReferralPriorityRank parameters. 這些 Cmdlet 於 Windows Server 2012 中引進。These cmdlets were introduced in Windows Server 2012.

請參閱See also