home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / System32 / wbem / NAPCLIENTSCHEMA.MOF < prev    next >
Encoding:
Text File  |  2008-01-05  |  3.9 KB  |  147 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) Microsoft Corporation
  4. //
  5. // SYNOPSIS
  6. //
  7. // Defines NapClient WMI Schema
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10.  
  11. #PRAGMA AUTORECOVER
  12. #pragma namespace("\\\\.\\root\\Nap")
  13.  
  14.  
  15. // NAP_Client
  16. // Information exposed through the INapClientInfo
  17. //
  18. [
  19.     description("NAP Client - implemented in the NAPagent"
  20.        "service"), 
  21.     singleton: ToInstance,
  22.     dynamic: ToInstance,
  23.     provider("NAP_ClientProvider")
  24. ]
  25.  
  26. class NAP_Client
  27. {
  28.       [read, description("NAP Client Name")]
  29.     string name;
  30.  
  31.       [read, description("Description of the NAP client")]
  32.     string description;
  33.  
  34.       [read, description("Indicates if the NAPagent"
  35.                 "service is enabled or not")]
  36.     boolean napEnabled;
  37.  
  38.       [read, description("This variable gives the version"
  39.                 "of the NAP protocol")]
  40.     string napProtocolVersion;
  41.  
  42.       [read, description("Isolation state of the system"),
  43.        ValueMap{"1","2","3"},
  44.        Values{"IsolationState_NotRestricted",
  45.               "IsolationState_InProbation",
  46.               "IsolationState_RestrictedAccess"}]
  47.     uint32 systemIsolationState;
  48.  
  49.       [read, description ("Absolute time for probation"
  50.                 "expiration, if client is in Probation")]
  51.     string probationTime;
  52.  
  53.       [read, description("Fixup-URL if client has"
  54.                 "restricted access")]
  55.     string fixupURL;
  56. };
  57.  
  58.  
  59. // NAP_SystemHealthAgent
  60. // Static and dynamic information about the SHA
  61. // Dynamic information is available only if bound
  62. //
  63. [
  64.     description("NAP SystemHealthAgent - provides "
  65.        "information about the registered SHAs"), 
  66.     dynamic: ToInstance, 
  67.     provider("NAP_ClientProvider")
  68. ]
  69.  
  70. class NAP_SystemHealthAgent
  71. {
  72.       [key, read, description ("SystemHealthAgent Id")]
  73.     uint32 id;
  74.    
  75.       [read, description ("FriendlyName for the SHA")]
  76.     string friendlyName;
  77.  
  78.       [read, description ("Description of the SHA")]
  79.     string description;    
  80.  
  81.       [read, description ("Version number of the SHA")]
  82.     string version;
  83.  
  84.       [read, description ("VendorName of the SHA")]
  85.     string vendorName;
  86.     
  87.       [read, description ("Guid of the COM server implementing"
  88.               "INapComponentInfo interface")]
  89.     string infoClsid;
  90.     
  91.       [read, description ("Registration date of the SHA")]
  92.     string registrationDate;
  93.  
  94.       [read, description ("SHA bound to the NAP Agent")]
  95.     boolean isBound;
  96.     
  97.       [read, description("Fixup state of the SHA"),
  98.       Values{"FixupState_Success",
  99.              "FixupState_InProgress",
  100.              "FixupState_CouldNotUpdate"}]
  101.     uint32 fixupState;
  102.     
  103.       [read, description ("Percent Fix-up complete "
  104.                 "value 101 - percentage is not supported")]
  105.     uint8 percentage;
  106. };
  107.  
  108.  
  109. // NAP_EnforcementClient
  110. // Static and dynamic information about the enforcer
  111. //
  112. [
  113.     description("NAP EnforcementClient - provides "
  114.        "information about the registered enforcers"), 
  115.     dynamic: ToInstance, 
  116.     provider("NAP_ClientProvider")
  117. ]
  118.  
  119. class NAP_EnforcementClient
  120. {      
  121.       [key, read, description ("EnforcementEntity Id")]
  122.     uint32 id;
  123.  
  124.       [read, description ("FriendlyName for the EC")]
  125.     string friendlyName;
  126.     
  127.      [read, description ("Description of the EC")]
  128.     string description;
  129.  
  130.       [read, description ("Version number of the EC")]
  131.     string version;
  132.         
  133.       [read, description ("VendorName of the EC")]
  134.     string vendorName;
  135.   
  136.       [read, description ("Guid of the COM server implementing"
  137.               "INapComponentInfo interface")]
  138.     string infoClsid;
  139.     
  140.       [read, description ("Registration date of the EC")]
  141.     string registrationDate;
  142.  
  143.       [read, description ("NapEC is bound to NAPAgent")]
  144.     boolean isBound;
  145. };
  146.  
  147.