變更用戶端快取轉介的時間量Change the amount of time that clients cache referrals

適用於: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. 您可以調整用戶端快取轉介多久之後可要求新的轉介。You can adjust how long clients cache a referral before requesting a new one.

變更用戶端快取命名空間根目錄轉介的時間量To change the amount of time that clients cache namespace root referrals

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

  2. 在主控台樹狀目錄的 [命名空間] 節點下,以滑鼠右鍵按一下命名空間,然後按一下 [內容]In the console tree, under the Namespaces node, right-click a namespace, and then click Properties.

  3. [轉介] 索引標籤的 [快取期間 (以秒為單位)] 文字方塊上,輸入用戶端快取命名空間根目錄轉介的時間量 (以秒為單位)。On the Referrals tab, in the Cache duration (in seconds) text box, type the amount of time (in seconds) that clients cache namespace root referrals. 預設設定是 300 秒 (5 分鐘)。The default setting is 300 seconds (five minutes).

提示

若要使用 Windows PowerShell 變更用戶端快取命名空間根目錄轉介的時間量,請使用 Set-DfsnRoot TimeToLiveSec Cmdlet。To change the amount of time that clients cache namespace root referrals by using Windows PowerShell, use the Set-DfsnRoot TimeToLiveSec cmdlet. 這些 Cmdlet 於 Windows Server 2012 中引進。These cmdlets were introduced in Windows Server 2012.

變更用戶端快取資料夾轉介的時間量To change the amount of time that clients cache folder referrals

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

  2. 在主控台樹狀目錄的 [命名空間] 節點下,以滑鼠右鍵按一下具有目標的資料夾,然後按一下 [內容]In the console tree, under the Namespaces node, right-click a folder that has targets, and then click Properties.

  3. [轉介] 索引標籤的 [快取期間 (以秒為單位)] 文字方塊上,輸入用戶端快取資料夾轉介的時間量 (以秒為單位)。On the Referrals tab, in the Cache duration (in seconds) text box, type the amount of time (in seconds) that clients cache folder referrals. 預設設定為 1800 秒 (30 分鐘)。The default setting is 1800 seconds (30 minutes).

請參閱See also