共用方式為


Reset-ServiceFabricPartitionLoad

重設 Service Fabric 分割區的目前負載。

語法

Reset-ServiceFabricPartitionLoad
     [-PartitionId] <Guid>
     [-TimeoutSec <Int32>]
     [<CommonParameters>]

Description

Reset-ServiceFabricPartitionLoad Cmdlet 會將 Service Fabric 磁碟分區目前的負載重設為服務的預設負載。 依其唯一標識子指定數據分割。

在 Service Fabric 叢集上執行任何作業之前,請使用 Connect-ServiceFabricCluster Cmdlet 來建立叢集的連線。

範例

範例 1:將分割區的負載重設為預設值

PS C:\> Reset-ServiceFabricPartitionLoad -PartitionId 0de4596d-c44f-493e-a749-84a29a689524

此命令會將分割區 0de4596d-c44f-493e-a749-84a29a689524 重設為其默認負載。

參數

-PartitionId

指定 Service Fabric 數據分割的識別碼。

類型:Guid
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-TimeoutSec

指定作業的逾時期間,以秒為單位。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

System.Guid

輸出

System.Object