bin/projects/dbatools/dbatools/Computer/PageFileSetting.cs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
using System;
using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sqlcollaborative.Dbatools.Computer { /// <summary> /// Data container, listing pagefile settings. /// </summary> [Serializable] public class PageFileSetting { /// <summary> /// The name of the computer /// </summary> public string ComputerName; /// <summary> /// Whether Automatic PageFile management is enabled /// </summary> public bool AutoPageFile; /// <summary> /// The pagefile name /// </summary> public string FileName; /// <summary> /// The pagefile status /// </summary> public string Status; /// <summary> /// Whether the pagefile is system managed /// </summary> public Nullable<Boolean> SystemManaged; /// <summary> /// When were the settings last changed /// </summary> public Nullable<DateTime> LastModified; /// <summary> /// When were the settings last accessed /// </summary> public Nullable<DateTime> LastAccessed; /// <summary> /// The base allocated pagefile size in MB /// </summary> public Nullable<int> AllocatedBaseSize; /// <summary> /// The initial pagefile size in MB /// </summary> public Nullable<int> InitialSize; /// <summary> /// The maximum pagefile size in MB /// </summary> public Nullable<int> MaximumSize; /// <summary> /// The maximum percent of the pagefile limit that has been used /// </summary> public Nullable<int> PeakUsage; /// <summary> /// The currently used percentage of the pagefile limit that is in use. /// </summary> public Nullable<int> CurrentUsage; } } |