Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VssVolumeProtectionInfo"/> class.
 /// </summary>
 /// <param name="protectionLevel">The protection level.</param>
 /// <param name="volumeIsOfflineForProtection">if set to <c>true</c> the volume is offline for protection.</param>
 /// <param name="protectionFault">The protection fault.</param>
 /// <param name="failureStatus">The failure status.</param>
 /// <param name="volumeHasUnusedDiffArea">if set to <c>true</c> the volume has unused diff area.</param>
 public VssVolumeProtectionInfo(VssProtectionLevel protectionLevel, bool volumeIsOfflineForProtection, VssProtectionFault protectionFault, UInt32 failureStatus, bool volumeHasUnusedDiffArea)
 {
     ProtectionLevel = protectionLevel;
     VolumeIsOfflineForProtection = volumeIsOfflineForProtection;
     ProtectionFault         = protectionFault;
     FailureStatus           = failureStatus;
     VolumeHasUnusedDiffArea = volumeHasUnusedDiffArea;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="VssVolumeProtectionInfo"/> class.
 /// </summary>
 /// <param name="protectionLevel">The protection level.</param>
 /// <param name="volumeIsOfflineForProtection">if set to <c>true</c> the volume is offline for protection.</param>
 /// <param name="protectionFault">The protection fault.</param>
 /// <param name="failureStatus">The failure status.</param>
 /// <param name="volumeHasUnusedDiffArea">if set to <c>true</c> the volume has unused diff area.</param>
 public VssVolumeProtectionInfo(VssProtectionLevel protectionLevel, bool volumeIsOfflineForProtection, VssProtectionFault protectionFault, UInt32 failureStatus, bool volumeHasUnusedDiffArea)
 {
    ProtectionLevel = protectionLevel;
    VolumeIsOfflineForProtection = volumeIsOfflineForProtection;
    ProtectionFault = protectionFault;
    FailureStatus = failureStatus;
    VolumeHasUnusedDiffArea = volumeHasUnusedDiffArea;
 }