Пример #1
0
 internal UpgradePolicy(UpgradeMode?mode, RollingUpgradePolicy rollingUpgradePolicy, AutomaticOSUpgradePolicy automaticOSUpgradePolicy)
 {
     Mode = mode;
     RollingUpgradePolicy     = rollingUpgradePolicy;
     AutomaticOSUpgradePolicy = automaticOSUpgradePolicy;
 }
Пример #2
0
 public PSUpgradePolicy(UpgradePolicy UpgradePolicy)
 {
     this.Mode = UpgradePolicy.Mode;
     this.RollingUpgradePolicy     = UpgradePolicy.RollingUpgradePolicy;
     this.AutomaticOSUpgradePolicy = UpgradePolicy.AutomaticOSUpgradePolicy;
 }