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

  1. //------------------------------------------------
  2. // RSOP_PushPrinterConnectionsPolicySetting
  3. // Comment: Abtraction for PPC extension policy data
  4. //------------------------------------------------
  5. // During setup, run twice
  6. // mofcomp -N:\\.\root\RSOP\computer    "RsopSchema.mof"
  7. // mofcomp -N:\\.\root\RSOP\user        "RsopSchema.mof"
  8. //
  9.  
  10. #pragma autorecover
  11. #pragma namespace("\\\\.\\root\\RSOP\\computer")
  12.  
  13.  
  14. [
  15.     Locale( 0x409 ),
  16.     Description("Policy object for PPc")
  17. ]
  18. class RSOP_PushPrinterConnectionsPolicySetting: RSOP_PolicySetting
  19. {
  20.     [
  21.         key,
  22.         Description("Inherited from RSOP_PolicySetting"),
  23.         Read,
  24.         DisplayName("ID")
  25.     ]
  26.     string id;
  27.  
  28.     [
  29.         key,
  30.         Description("Inherited from RSOP_PolicySetting"),
  31.         Read,
  32.         DisplayName("Precedence")
  33.     ]
  34.     uint32 precedence;
  35.  
  36.     [
  37.         Description("Printer name,"),
  38.         Read,
  39.         DisplayName("Printer name")
  40.     ]
  41.     string printerName = "";
  42.  
  43.     [
  44.         Description("Short server name"),
  45.         Read,
  46.         DisplayName("Server name")
  47.     ]
  48.     string serverName = "";
  49.  
  50.     [
  51.         Description("Short server name"),
  52.         Read,
  53.         DisplayName("Network name")
  54.     ]
  55.     string uncName = "";
  56.  
  57.     [
  58.         ValueMap {"1", "2"},
  59.         Values { "User connection", "Machine connection"},
  60.         Description("Whether the the connection is applied per machine, per user"
  61.             "1 = User, 2 = Machine."),
  62.         Read,
  63.         DisplayName("Connection Type")
  64.     ]
  65.     uint32      ConnectionType = 1;
  66.  
  67.     [
  68.         Description("Indicates whether the print connection"
  69.             "has been deleted."),
  70.         Read,
  71.         DisplayName("Is deleted")
  72.     ]
  73.     boolean deleted = false;
  74.  
  75.     [
  76.         Description("The final result of pushed printer connection. 0 indicate success"),
  77.         Read,
  78.         DisplayName("PushResult")
  79.     ]
  80.     uint32      PushResult;
  81. };
  82.