Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ASRVirtualMachine" /> class.
 /// </summary>
 /// <param name="vm">Virtual Machine</param>
 public ASRVirtualMachine(VirtualMachine vm)
     : base(
         vm.ID,
         vm.ServerId,
         vm.ProtectionContainerId,
         vm.Name,
         vm.Type,
         vm.FabricObjectId,
         vm.Protected,
         vm.CanCommit,
         vm.CanFailover,
         vm.CanReverseReplicate,
         vm.ActiveLocation,
         vm.ProtectionStateDescription,
         vm.TestFailoverStateDescription,
         vm.ReplicationHealth,
         vm.ReplicationProvider)
 {
 }
 /// <summary>
 /// Writes Virtual Machine.
 /// </summary>
 /// <param name="vm">Virtual Machine</param>
 private void WriteVirtualMachine(VirtualMachine vm)
 {
     this.WriteObject(new ASRVirtualMachine(vm));
 }