Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1861 lines
82 KiB

  1. Qualifier Description : ToSubClass Amended;
  2. Qualifier Values : ToSubClass Amended;
  3. Qualifier DisplayName : ToSubClass Amended;
  4. Qualifier BitValues:ToSubClass Amended ;
  5. Qualifier Aggregate : ToSubClass ;
  6. Qualifier ValueMap : ToSubClass ;
  7. Qualifier Aggregation : ToSubClass ;
  8. Qualifier ArrayType : ToSubClass ;
  9. Qualifier Association : ToInstance ToSubClass DisableOverride ;
  10. Qualifier BitMap : ToSubClass ;
  11. Qualifier CIM_Key : ToSubClass ;
  12. Qualifier CIMTYPE : ToSubClass ;
  13. Qualifier Deprecated : ToSubClass ;
  14. Qualifier Enumeration : ToSubClass ;
  15. Qualifier EnumPrivileges : ToSubClass ;
  16. Qualifier ImplementationSource : ToSubClass ;
  17. Qualifier Key : ToInstance ToSubClass DisableOverride ;
  18. Qualifier Locale : ToInstance ;
  19. Qualifier MappingStrings : ToSubClass ;
  20. Qualifier Max : ToSubClass ;
  21. Qualifier MaxLen : ToSubClass ;
  22. Qualifier MethodSource : ToSubClass ;
  23. Qualifier Min : ToSubClass ;
  24. Qualifier ModelCorrespondence : ToSubClass ;
  25. Qualifier Not_Null : ToSubClass ;
  26. Qualifier Optional : ToSubClass ;
  27. Qualifier Override : Restricted ;
  28. Qualifier Privileges : ToSubClass ;
  29. Qualifier Propagated : ToSubClass ;
  30. Qualifier PropertySources : ToSubClass ;
  31. Qualifier Provider : ToInstance ;
  32. Qualifier Range : ToSubClass ;
  33. Qualifier Read : ToSubClass ;
  34. Qualifier Schema : ToInstance ;
  35. Qualifier Singleton : ToSubClass ToInstance ;
  36. Qualifier SUBTYPE : ToSubClass ;
  37. Qualifier Units : ToSubClass ;
  38. Qualifier UUID : ToInstance ;
  39. Qualifier Volatile : ToSubClass ;
  40. Qualifier Weak : ToSubClass ;
  41. Qualifier Write : ToSubClass ;
  42. Qualifier WritePrivileges : ToSubClass ;
  43. #pragma namespace("\\\\.\\root")
  44. Instance of __Namespace
  45. {
  46. Name = "MicrosoftIISv1";
  47. };
  48. #pragma namespace("\\\\.\\ROOT\\MicrosoftIISv1")
  49. /* View provider setup */
  50. instance of __Win32Provider as $DataProv
  51. {
  52. Name = "MS_VIEW_INSTANCE_PROVIDER";
  53. ClsId = "{AA70DDF4-E11C-11D1-ABB0-00C04FD9159E}";
  54. ImpersonationLevel = 1;
  55. PerUserInitialization = "True";
  56. };
  57. instance of __InstanceProviderRegistration
  58. {
  59. Provider = $DataProv;
  60. SupportsPut = True;
  61. SupportsGet = True;
  62. SupportsDelete = True;
  63. SupportsEnumeration = True;
  64. QuerySupportLevels = {"WQL:UnarySelect"};
  65. };
  66. instance of __MethodProviderRegistration
  67. {
  68. Provider = $DataProv;
  69. };
  70. /**/
  71. /* IIS provider setup */
  72. Instance of __Win32Provider as $IISProv
  73. {
  74. Name = "IIS__PROVIDER";
  75. ClsId = "{1339F295-5C3F-45ab-A117-C91B002408D5}";
  76. Pure = "TRUE";
  77. ImpersonationLevel = 1;
  78. PerUserInitialization = "TRUE";
  79. };
  80. Instance of __InstanceProviderRegistration
  81. {
  82. Provider = $IISProv;
  83. SupportsPut = "TRUE";
  84. SupportsGet = "TRUE";
  85. SupportsDelete = "TRUE";
  86. SupportsEnumeration = "TRUE";
  87. };
  88. Instance of __MethodProviderRegistration
  89. {
  90. Provider = $IISProv;
  91. };
  92. /**/
  93. [Abstract,
  94. Description("The CIM_ManagedSystemElement class is the base class for the system element "
  95. "hierarchy. Membership criteria: Any distinguishable component of a system is a candidate "
  96. "for inclusion in this class.\nExamples: software components, such as files; and devices, "
  97. "such as disk drives and controllers, and physical components such as chips and cards."),
  98. Locale(1033),
  99. UUID("{8502C517-5FBB-11D2-AAC1-006008C78BC7}")]
  100. class CIM_ManagedSystemElement
  101. {
  102. [PropertySources("Caption"),
  103. MaxLen(64),
  104. Description("The Caption property is a short textual description (one-line string) of the "
  105. "object."),
  106. read]
  107. string Caption;
  108. [PropertySources("Description"),
  109. Description("The Description property provides a textual description of the object."),
  110. read]
  111. string Description;
  112. [PropertySources("InstallDate"),
  113. Description("The InstallDate property is datetime value indicating when the object was "
  114. "installed. A lack of a value does not indicate that the object is not installed."),
  115. MappingStrings{"MIF.DMTF|ComponentID|001.5"},
  116. read]
  117. datetime InstallDate;
  118. [PropertySources("Name"),
  119. Description("The Name property defines the label by which the object is known. When "
  120. "subclassed, the Name property can be overridden to be a Key property."),
  121. read]
  122. string Name;
  123. [PropertySources("Status"),
  124. read,
  125. MaxLen(10),
  126. Description("The Status property is a string indicating the current status of the object. "
  127. "Various operational and non-operational statuses can be defined. Operational statuses are "
  128. "\"OK\", \"Degraded\" and \"Pred Fail\". \"Pred Fail\" indicates that an element may be "
  129. "functioning properly but predicting a failure in the near future. An example is a "
  130. "SMART-enabled hard drive. Non-operational statuses can also be specified. These are "
  131. "\"Error\", \"Starting\", \"Stopping\" and \"Service\". The latter, \"Service\", could "
  132. "apply during mirror-resilvering of a disk, reload of a user permissions list, or other "
  133. "administrative work. Not all such work is on-line, yet the managed element is neither "
  134. "\"OK\" nor in one of the other states."),
  135. ValueMap{"OK", "Error", "Degraded", "Unknown", "Pred Fail", "Starting", "Stopping",
  136. "Service"},
  137. Values{"OK", "Error", "Degraded", "Unknown", "Pred Fail", "Starting", "Stopping",
  138. "Service"}]
  139. string Status;
  140. };
  141. [Description("The CIM_LogicalElement class is the base class for all the components of "
  142. "the system that represent abstract system components.\nExample: profiles, processes, or "
  143. "system capabilities in the form of logical devices."),
  144. Abstract,
  145. Locale(1033),
  146. UUID("{8502C518-5FBB-11D2-AAC1-006008C78BC7}")]
  147. class CIM_LogicalElement : CIM_ManagedSystemElement
  148. {
  149. };
  150. [Abstract, Description (
  151. "A logical element that aggregates an enumerable set of managed system "
  152. "elements. The aggregation operates as an functional whole. Within any "
  153. "particular subclass of CIM_System, there is a well-defined list of "
  154. "CIM_ManagedSystemElement classes whose instances must be aggregated."),
  155. Locale (0x409), UUID ("{8502C524-5FBB-11D2-AAC1-006008C78BC7}") ]
  156. class CIM_System: CIM_LogicalElement
  157. {
  158. [CIM_Key, Read,
  159. Description ("The CreationClassName property indicates the name "
  160. "of the class or the subclass used in the creation of an instance. "
  161. "When used with the other key properties of this class, this "
  162. "property allows all instances of this class and its subclasses to "
  163. "be uniquely identified.")]
  164. string CreationClassName ;
  165. [Override ("Name") , Description (
  166. "The inherited Name property serves as key of a CIM_System instance in an enterprise "
  167. "environment.") , CIM_Key, Read ]
  168. string Name ;
  169. [Description (
  170. "The CIM_System object and its derivatives are top level objects of CIM. "
  171. "They provide the scope for numerous components. Having unique system "
  172. "keys is required. A heuristic can be defined in individual system "
  173. "subclasses to attempt to always generate the same system name key. The "
  174. "NameFormat property identifies how the system name was generated, using "
  175. "the subclass' heuristic.") , Read ]
  176. string NameFormat ;
  177. [Description (
  178. "A string that provides information on how the primary system owner can "
  179. "be reached (e.g. phone number, email address, ...).") , Read ]
  180. string PrimaryOwnerContact ;
  181. [Description ("The name of the primary system owner.") , Read ]
  182. string PrimaryOwnerName ;
  183. [Description (
  184. "A collection of strings that specify the roles this system plays in "
  185. "the IT-environment.") , Read, Write ]
  186. string Roles[] ;
  187. };
  188. [Description (
  189. "The Setting class represents configuration-related and "
  190. "operational parameters for one or more ManagedSystem"
  191. "Element(s). A ManagedSystemElement may have multiple Setting "
  192. "objects associated with it. The current operational values "
  193. "for an Element's parameters are reflected by properties in "
  194. "the Element itself or by properties in its associations. "
  195. "These properties do not have to be the same values present "
  196. "in the Setting object. For example, a modem may have a "
  197. "Setting baud rate of 56Kb/sec but be operating "
  198. "at 19.2Kb/sec."),
  199. Abstract,
  200. Locale(1033),
  201. UUID("{8502C572-5FBB-11D2-AAC1-006008C78BC7}")]
  202. class CIM_Setting
  203. {
  204. [read,
  205. MaxLen(256),
  206. Description("The identifier by which the CIM_Setting object is known.")]
  207. string SettingID;
  208. [read,
  209. MaxLen(64),
  210. Description("A short textual description (one-line string) of the CIM_Setting object.")]
  211. string Caption;
  212. [read,
  213. Description("A textual description of the CIM_Setting object.")]
  214. string Description;
  215. };
  216. [Association,
  217. Abstract,
  218. Aggregation,
  219. Description("A generic association to establish 'part of' relationships between managed "
  220. "system elements."),
  221. Locale(1033),
  222. UUID("{8502C573-5FBB-11D2-AAC1-006008C78BC7}")]
  223. class CIM_Component
  224. {
  225. [read,
  226. Aggregate,
  227. Description("The parent element in the association"),
  228. Min(1),
  229. Max(1)]
  230. CIM_ManagedSystemElement ref GroupComponent;
  231. [Description("The child element in the association"),
  232. read]
  233. CIM_ManagedSystemElement ref PartComponent;
  234. };
  235. [Description("A logical element that contains the information necessary to represent and "
  236. "manage the functionality provided by a device and/or software feature. A service is a "
  237. "general-purpose object to configure and manage the implementation of functionality. It is "
  238. "not the functionality itself."),
  239. union,
  240. ViewSources{"Select * from CIM_Service"},
  241. ViewSpaces{"\\\\.\\root\\cimv2"},
  242. provider("MS_VIEW_INSTANCE_PROVIDER"),
  243. Abstract,
  244. Locale(1033),
  245. UUID("{8502C527-5FBB-11D2-AAC1-006008C78BC7}")]
  246. class CIM_Service : CIM_LogicalElement
  247. {
  248. [PropertySources("Name"),
  249. Description("The Name property uniquely identifies the service and provides an indication "
  250. "of the functionality that is managed. This functionality is described in more detail in "
  251. "the object's Description property."),
  252. read,
  253. Override("Name"),
  254. cim_key]
  255. string Name;
  256. [PropertySources("CreationClassName"),
  257. CIM_Key,
  258. read,
  259. Description("CreationClassName indicates the name of the class or the subclass used in "
  260. "the creation of an instance. When used with the other key properties of this class, this "
  261. "property allows all instances of this class and its subclasses to be uniquely "
  262. "identified.")]
  263. string CreationClassName;
  264. [PropertySources("StartMode"),
  265. Description("StartMode is a string value indicating whether the service is automatically "
  266. "started by a operating system, or only started upon request."),
  267. ValueMap{"Automatic", "Manual"},
  268. Values{"Automatic", "Manual"},
  269. read]
  270. string StartMode;
  271. [PropertySources("Started"),
  272. Description("Started is a boolean indicating whether the service has been started (TRUE), "
  273. "or stopped (FALSE)."),
  274. read]
  275. boolean Started;
  276. [PropertySources("SystemCreationClassName"),
  277. Propagated("CIM_System.CreationClassName"),
  278. CIM_Key,
  279. Description("The type name of the system that hosts this service"),
  280. read]
  281. string SystemCreationClassName;
  282. [PropertySources("SystemName"),
  283. Propagated("CIM_System.Name"),
  284. CIM_Key,
  285. Description("The name of the system that hosts this service"),
  286. read]
  287. string SystemName;
  288. [Description("The StartService method places the service in the started state. It returns "
  289. "an integer value of 0 if the service was successfully started, 1 if the request is not "
  290. "supported and any other number to indicate an error.")]
  291. uint32 StartService();
  292. [Description("The StopService method places the service in the stopped state. It returns "
  293. "an integer value of 0 if the service was successfully stopped, 1 if the request is not "
  294. "supported and any other number to indicate an error.")]
  295. uint32 StopService();
  296. };
  297. [Description("The Win32_BaseService class represents executable objects that are "
  298. "installed in a registry database maintained by the Service Control Manager. The "
  299. "executable file associated with a service can be started at boot time by a boot program "
  300. "or by the system. It can also be started on-demand by the Service Control Manager. Any "
  301. "service or process that is not owned by a specific user, and that provides an interface "
  302. "to some functionality supported by the computer system, is a descendent (or member) of "
  303. "this class.\nExample: The dynamic host configuration protocol (DHCP) client service on a "
  304. "Windows NT/Windows 2000 computer system."),
  305. provider("MS_VIEW_INSTANCE_PROVIDER"),
  306. Union,
  307. ViewSources{"Select * from Win32_BaseService"},
  308. ViewSpaces{"\\\\.\\root\\cimv2"},
  309. Abstract,
  310. Locale(1033),
  311. UUID("{8502C4C4-5FBB-11D2-AAC1-006008C78BC7}")]
  312. class Win32_BaseService : CIM_Service
  313. {
  314. [PropertySources("Name"),
  315. Description("The Name property uniquely identifies the service and provides an indication "
  316. "of the functionality that is managed. This functionality is described in more detail in "
  317. "the object's Description property."),
  318. read,
  319. Override("Name"),
  320. key]
  321. string Name;
  322. [PropertySources("StartMode"),
  323. Description("The StartMode property indicates the start mode of the Win32 base service. "
  324. "\"Boot\" specifies a device driver started by the operating system loader. This value is "
  325. "valid only for driver services. \"System\" specifies a device driver started by the "
  326. "IoInitSystem function. This value is valid only for driver services. \"Automatic\" "
  327. "specifies a service to be started automatically by the service control manager during "
  328. "system startup. \"Manual\" specifies a service to be started by the service control "
  329. "manager when a process calls the StartService function. \"Disabled\" specifies a service "
  330. "that can no longer be started."),
  331. ValueMap{"Boot", "System", "Auto", "Manual", "Disabled"},
  332. Values{"Boot", "System", "Auto", "Manual", "Disabled"},
  333. read,
  334. Override("StartMode")]
  335. string StartMode;
  336. [read,
  337. PropertySources("AcceptPause"),
  338. Description("The AcceptPause property indicates whether the service can be "
  339. "paused.\nValues: TRUE or FALSE. A value of TRUE indicates the service can be paused."),
  340. MappingStrings{"Win32API|Service "
  341. "Structures|SERVICE_STATUS|dwControlsAccepted|SERVICE_ACCEPT_PAUSE_CONTINUE"}]
  342. boolean AcceptPause;
  343. [read,
  344. PropertySources("AcceptStop"),
  345. Description("The AcceptStop property indicates whether the service can be "
  346. "stopped.\nValues: TRUE or FALSE. A value of TRUE indicates the service can be stopped."),
  347. MappingStrings{"Win32API|Service "
  348. "Structures|SERVICE_STATUS|dwControlsAccepted|SERVICE_ACCEPT_STOP"}]
  349. boolean AcceptStop;
  350. [read,
  351. PropertySources("DesktopInteract"),
  352. Description("The DesktopInteract property indicates whether the service can create or "
  353. "communicate with windows on the desktop.\nValues: TRUE or FALSE. A value of TRUE "
  354. "indicates the service can create or communicate with windows on the desktop."),
  355. MappingStrings{"Win32API|Service "
  356. "Structures|QUERY_SERVICE_CONFIG|dwServiceType|SERVICE_INTERACTIVE_PROCESS"}]
  357. boolean DesktopInteract;
  358. [read,
  359. PropertySources("DisplayName"),
  360. Description("The DisplayName property indicates the display name of the service. This "
  361. "string has a maximum length of 256 characters. The name is case-preserved in the Service "
  362. "Control Manager. DisplayName comparisons are always case-insensitive. \nConstraints: "
  363. "Accepts the same value as the Name property.\nExample: Atdisk."),
  364. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDisplayName"}]
  365. string DisplayName;
  366. [read,
  367. PropertySources("ErrorControl"),
  368. Description("If this service fails to start during startup, the ErrorControl property "
  369. "specifies the severity of the error. The value indicates the action taken by the startup "
  370. "program if failure occurs. All errors are logged by the computer system. The computer "
  371. "system does not notify the user of \"Ignore\" errors. With \"Normal\" errorsthe user is "
  372. "notified. With \"Severe\" errors, the system is restarted with the last-known-good "
  373. "configuration. Finally, on\"Critical\" errors the system attempts to restart with a good "
  374. "configuration."),
  375. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwErrorControl"},
  376. Values{"Ignore", "Normal", "Severe", "Critical", "Unknown"},
  377. ValueMap{"Ignore", "Normal", "Severe", "Critical", "Unknown"}]
  378. string ErrorControl;
  379. [read,
  380. PropertySources("PathName"),
  381. Description("The PathName property contains the fully qualified path to the service "
  382. "binary file that implements the service.\nExample: "
  383. "\\SystemRoot\\System32\\drivers\\afd.sys"),
  384. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpBinaryPathName"}]
  385. string PathName;
  386. [read,
  387. PropertySources("ServiceType"),
  388. Description("The ServiceType property supplies the type of service provided to calling "
  389. "processes."),
  390. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType"},
  391. Values{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own "
  392. "Process", "Share Process", "Interactive Process"},
  393. ValueMap{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own "
  394. "Process", "Share Process", "Interactive Process"}]
  395. string ServiceType;
  396. [read,
  397. PropertySources("StartName"),
  398. Description("The StartName property indicates the account name under which the service "
  399. "runs. Depending on the service type, the account name may be in the form of "
  400. "\"DomainName\\Username\".The service process will be logged using one of these two forms "
  401. "when it runs. If the account belongs to the built-in domain, \".\\Username\" can be "
  402. "specified. If NULL is specified, the service will be logged on as the LocalSystem "
  403. "account. For kernel or system level drivers, StartName contains the driver object name "
  404. "(that is, \\FileSystem\\Rdr or \\Driver\\Xns) which the input and output (I/O) system "
  405. "uses to load the device driver. Additionally, if NULL is specified, the driver runs with "
  406. "a default object name created by the I/O system based on the service name.\nExample: "
  407. "DWDOM\\Admin."),
  408. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpServiceStartName"}]
  409. string StartName;
  410. [read,
  411. PropertySources("State"),
  412. Description("The State property indicates the current state of the base service."),
  413. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwCurrentState "},
  414. Values{"Stopped", "Start Pending", "Stop Pending", "Running", "Continue Pending", "Pause "
  415. "Pending", "Paused", "Unknown"},
  416. ValueMap{"Stopped", "Start Pending", "Stop Pending", "Running", "Continue Pending",
  417. "Pause Pending", "Paused", "Unknown"}]
  418. string State;
  419. [read,
  420. PropertySources("TagId"),
  421. Description("The TagId property specifies a unique tag value for this service in the "
  422. "group. A value of 0 indicates that the service has not been assigned a tag. A tag can be "
  423. "used for ordering service startup within a load order group by specifying a tag order "
  424. "vector in the registry located at: "
  425. "HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\GroupOrderList. Tags are only "
  426. "evaluated for Kernel Driver and File System Driver start type services that have \"Boot\" "
  427. "or \"System\" start modes."),
  428. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwTagId"}]
  429. uint32 TagId;
  430. [read,
  431. PropertySources("ExitCode"),
  432. Description("The ExitCode property specifies a Win32 error code defining any problems "
  433. "encountered in starting or stopping the service. This property is set to "
  434. "ERROR_SERVICE_SPECIFIC_ERROR (1066) when the error is unique to the service represented "
  435. "by this class, and information about the error is available in the "
  436. "ServiceSpecificExitCode member. The service sets this value to NO_ERROR when running, and "
  437. "again upon normal termination."),
  438. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwWin32ExitCode"}]
  439. uint32 ExitCode;
  440. [read,
  441. PropertySources("ServiceSpecificExitCode"),
  442. Description("The ServiceSpecificExitCode property specifies a service-specific error code "
  443. "for errors that occur while the service is either starting or stopping. The exit codes "
  444. "are defined by the service represented by this class. This value is only set when the "
  445. "ExitCodeproperty value is ERROR_SERVICE_SPECIFIC_ERROR, 1066."),
  446. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwServiceSpecificExitCode"}]
  447. uint32 ServiceSpecificExitCode;
  448. [Description("The StartService method attempts to place the service into its startup "
  449. "state. It returns one of the following integer values:\n0 - The request was accepted.\n1 "
  450. "- The request is not supported.\n2 - The user did not have the necessary access.\n3 - The "
  451. "service cannot be stopped because other services that are running are dependent on it.\n4 "
  452. "- The requested control code is not valid, or it is unacceptable to the service.\n5 - The "
  453. "requested control code cannot be sent to the service because the state of the service "
  454. "(Win32_BaseService:State) is equal to 0, 1, or 2.\n6 - The service has not been "
  455. "started.\n7 - The service did not respond to the start request in a timely fashion.\n8 - "
  456. "Unknown failure when starting the service.\n9 - The directory path to the service "
  457. "executable was not found.\n10 - The service is already running.\n11 - The database to add "
  458. "a new service is locked.\n12 - A dependency for which this service relies on has been "
  459. "removed from the system.\n13 - The service failed to find the service needed from a "
  460. "dependent service.\n14 - The service has been disabled from the system.\n15 - The service "
  461. "does not have the correct authentication to run on the system.\n16 - This service is "
  462. "being removed from the system.\n17 - There is no execution thread for the service.\n18 - "
  463. "There are circular dependencies when starting the service.\n19 - There is a service "
  464. "running under the same name.\n20 - There are invalid characters in the name of the "
  465. "service.\n21 - Invalid parameters have been passed to the service.\n22 - The account "
  466. "which this service is to run under is either invalid or lacks the permissions to run the "
  467. "service.\n23 - The service exists in the database of services available from the "
  468. "system.\n24 - The service is currently paused in the system.\n"),
  469. MethodSource("StartService"),
  470. Override("StartService"),
  471. Implemented,
  472. Values{"Success", "Not Supported", "Access Denied", "Dependent Services Running",
  473. "Invalid Service Control", "Service Cannot Accept Control", "Service Not Active",
  474. "Service Request Timeout", "Unknown Failure", "Path Not Found", "Service Already "
  475. "Running", "Service Database Locked", "Service Dependency Deleted", "Service Dependency "
  476. "Failure", "Service Disabled", "Service Logon Failed", "Service Marked For Deletion",
  477. "Service No Thread", "Status Circular Dependency", "Status Duplicate Name", "Status "
  478. "Invalid Name", "Status Invalid Parameter", "Status Invalid Service Account", "Status "
  479. "Service Exists", "Service Already Paused"},
  480. MappingStrings{"Win32API|Service Functions|StartService"}]
  481. uint32 StartService();
  482. [Description("The StopService method places the service in the stopped state. It returns "
  483. "an integer value of 0 if the service was successfully stopped, 1 if the request is not "
  484. "supported, and any other number to indicate an error."),
  485. MethodSource("StopService"),
  486. Override("StopService"),
  487. Implemented,
  488. MappingStrings{"Win32API|Service "
  489. "Functions|ControlService|dwControl|SERVICE_CONTROL_STOP"}]
  490. uint32 StopService();
  491. [MethodSource("PauseService"),
  492. Implemented,
  493. Description("The PauseService method attempts to place the service in the paused state. "
  494. "It returns an integer value of 0 if the PauseService request was accepted, 1 if the "
  495. "request is not supported, and any other number to indicate an error."),
  496. MappingStrings{"Win32API|Service "
  497. "Functions|ControlService|dwControl|SERVICE_CONTROL_PAUSE"}]
  498. uint32 PauseService();
  499. [MethodSource("ResumeService"),
  500. Implemented,
  501. Description("The ResumeService method attempts to place the service in the resumed state. "
  502. "It returns an integer value of 0 if the ResumeService request was accepted, 1 if the "
  503. "request is not supported, and any other number to indicate an error."),
  504. MappingStrings{"Win32API|Service "
  505. "Functions|ControlService|dwControl|SERVICE_CONTROL_CONTINUE"}]
  506. uint32 ResumeService();
  507. [MethodSource("InterrogateService"),
  508. Implemented,
  509. Description("The InterrogateService method requests that the service update its state to "
  510. "the service manager. It returns an integer value of 0 if the InterrogateService request "
  511. "was accepted, 1 if the request is not supported, and any other number to indicate an "
  512. "error."),
  513. MappingStrings{"Win32API|Service "
  514. "Functions|ControlService|dwControl|SERVICE_CONTROL_INTERROGATE"}]
  515. uint32 InterrogateService();
  516. [MethodSource("UserControlService"),
  517. Implemented,
  518. Description("The UserControlService method attempts to send a user-defined control code "
  519. "to a service. It returns an integer value of 0 if the UserControlService request was "
  520. "accepted, 1 if the request is not supported, and any other number to indicate an "
  521. "error."),
  522. MappingStrings{"Win32API|Service "
  523. "Functions|CreateService|dwDesiredAccess|SERVICE_USER_DEFINED_CONTROL"}]
  524. uint32 UserControlService(
  525. [In,
  526. Description("The ControlCode parameter specifies defined values(from 128 to 255) that "
  527. "provide control commands specific to a user."),
  528. MappingStrings{"Win32API|Service Functions|ControlService|dwControl"}]
  529. uint8 ControlCode
  530. );
  531. [MethodSource("Create"),
  532. Constructor,
  533. Implemented,
  534. Static,
  535. Description("The Create method creates a new service. It returns an integer value of 0 if "
  536. "the service was successfully created, 1 if the request is not supported, and any other "
  537. "number to indicate an error. The Win32_LoadOrderGroup parameter represents a grouping of "
  538. "system services defining execution dependencies. The services must be initiated in the "
  539. "order specified by the Load Order Group, as the services are dependent on each other. "
  540. "These dependent services require the presence of the antecedent services in order to "
  541. "function correctly."),
  542. MappingStrings{"Win32API|Service Functions|CreateService"}]
  543. uint32 Create(
  544. [In,
  545. Description("The Name parameter passes the name of the service to install to the Create "
  546. "method. The maximum string length is 256 characters. The service control manager database "
  547. "preserves the case of the characters, but service name comparisons are always case "
  548. "insensitive. Forward-slashes (/) and double back-slashes (\\) are invalid service name "
  549. "characters."),
  550. MappingStrings{"Win32API|Service Functions|CreateServicelpServiceName"}]
  551. string Name,
  552. [In,
  553. Description("The DisplayName parameter passes the display name of the service. This "
  554. "string has a maximum length of 256 characters. The name is case-preserved in the service "
  555. "control manager. DisplayName comparisons are always case-insensitive. \nConstraints: "
  556. "Accepts the same value as the Name parameter.\nExample: Atdisk."),
  557. MappingStrings{"Win32API|Service Functions|CreateServicelpDisplayName"}]
  558. string DisplayName,
  559. [In,
  560. Description("The PathName parameter passes the fully qualified path to the executable "
  561. "file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys"),
  562. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpBinaryPathName "}]
  563. string PathName,
  564. [In,
  565. Description("The ServiceType parameter passes the type of services provided to processes "
  566. "that call them."),
  567. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType"},
  568. BitValues{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own "
  569. "Process", "Share Process"},
  570. BitMap{"0", "1", "2", "3", "4", "5", "8"}]
  571. uint8 ServiceType,
  572. [In,
  573. Description("If the Create method fails to start, the ErrorControl parameter passes the "
  574. "severity of the error. The value indicates the action taken by the startup program if "
  575. "failure occurs. All errors are logged by the system. The system does not notify the user "
  576. "of \"Ignore\" errors. With \"Normal\" errors the user is notified. With \"Severe\" "
  577. "errors, the system is restarted with the last-known-good configuration. Finally, on "
  578. "\"Critical\" errors, the system attempts to restart with a good configuration."),
  579. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwErrorControl"},
  580. Values{"Ignore", "Normal", "Severe", "Critical"}]
  581. uint8 ErrorControl,
  582. [In,
  583. Description("The StartMode parameter passes the start mode of the Win32 base service. "
  584. "\"Boot\" specifies a device driver started by the operating system loader. This value is "
  585. "valid only for driver services. \"System\" specifies a device driver started by the "
  586. "IoInitSystem function. This value is valid only for driver services. \"Automatic\" "
  587. "specifies a service to be started automatically by the service control manager during "
  588. "system startup. \"Manual\" specifies a service to be started by the service control "
  589. "manager when a process calls the StartService function. \"Disabled\" specifies a service "
  590. "that can no longer be started."),
  591. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwStartType"},
  592. Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"},
  593. ValueMap{"Boot", "System", "Automatic", "Manual", "Disabled"}]
  594. string StartMode,
  595. [In,
  596. Description("The DesktopInteract parameter passes the value that indicates whether the "
  597. "service can create or communicate with windows on the desktop.\nValues: TRUE or FALSE. A "
  598. "value of TRUE indicates the service can create or communicate with windows on the "
  599. "desktop."),
  600. MappingStrings{"Win32API|Service "
  601. "Structures|QUERY_SERVICE_CONFIG|dwServiceType|SERVICE_INTERACTIVE_PROCESS"}]
  602. boolean DesktopInteract,
  603. [In,
  604. Description("The StartName parameter passes the account name the service runs under. "
  605. "Depending on the service type, the account name may be in the form of "
  606. "\"DomainName\\Username\".The service process will be logged using one of these two forms "
  607. "when it runs. If the account belongs to the built-in domain, \".\\Username\" can be "
  608. "specified. If NULL is specified, the service will be logged on as the LocalSystem "
  609. "account. For a kernel or system-level drivers, StartName contains the driver object name "
  610. "(that is, \\FileSystem\\Rdr or \\Driver\\Xns) which the input and output (I/O) system "
  611. "uses to load the device driver. If NULL is specified, the driver runs with a default "
  612. "object name created by the I/O system based on the service name.\nExample: "
  613. "DWDOM\\Admin."),
  614. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpServiceStartName"}]
  615. string StartName,
  616. [In,
  617. Description("The StartPassword parameter passes the password to the account name "
  618. "specified by the StartName parameter. Specify NULL if you are not changing the password. "
  619. "Specify an empty string if the service has no password."),
  620. MappingStrings{"Win32API|Service Functions|CreateService|lpPassword"}]
  621. string StartPassword,
  622. [In,
  623. Description("The LoadOrderGroup parameter passes the group name associated with the new "
  624. "service. Load order groups are contained in the registry, and determine the sequence in "
  625. "which services are loaded into the operating system. If the pointer is NULL or if it "
  626. "points to an empty string, the service does not belong to a group. Dependencies between "
  627. "groups should be listed in the LoadOrderGroupDependencies parameter. Services in the "
  628. "load-ordering group list are started first, followed by services in groups not in the "
  629. "load-ordering group list, followed by services that do not belong to a group. The "
  630. "registry has a list of load ordering groups located "
  631. "at:\nHKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ServiceGroupOrder."),
  632. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpLoadOrderGroup"}]
  633. string LoadOrderGroup,
  634. [In,
  635. Description("The LoadOrderGroupDependencies parameter passes a list of load ordering "
  636. "groups that must start before this service. The array is doubly null-terminated. If the "
  637. "pointer is NULL or if it points to an empty string, the service has no dependencies. "
  638. "Group names must be prefixed by the SC_GROUP_IDENTIFIER (defined in the WINSVC.H file) "
  639. "character to differentiate it from a service name, because services and service groups "
  640. "share the same name space. Dependency on a group means that this service can run if at "
  641. "least one member of the group is running after an attempt to start all members of the "
  642. "group."),
  643. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies"}]
  644. string LoadOrderGroupDependencies[],
  645. [In,
  646. Description("The ServiceDependencies parameter passes a list containing names of services "
  647. "that must start before this service starts. The array is doubly null-terminated. If the "
  648. "pointer is NULL, or if it points to an empty string, the service has no dependencies. "
  649. "Dependency on a service means that this service can only run if the service it depends on "
  650. "is running."),
  651. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies"}]
  652. string ServiceDependencies[]
  653. );
  654. [MethodSource("Change"),
  655. Implemented,
  656. Description("The Change method modifies a service. It returns an integer value of 0 if "
  657. "the service was successfully modified, 1 if the request is not supported and any other "
  658. "number to indicate an error. The Win32_LoadOrderGroup parameter represents a grouping of "
  659. "system services defining execution dependencies. The services must be initiated in the "
  660. "order specified by the Load Order Group as the services are dependent on each other. "
  661. "These dependent services require the presence of the antecedent services in order to "
  662. "function correctly."),
  663. MappingStrings{"Win32API|Service Functions|ChangeServiceConfig"}]
  664. uint32 Change(
  665. [In,
  666. Description("The DisplayName parameter passes the display name of the service. This "
  667. "string has a maximum length of 256 characters. The name is case-preserved in the service "
  668. "control manager. DisplayName comparisons are always case-insensitive. \nConstraints: "
  669. "Accepts the same value as the Name parameter.\nExample: Atdisk"),
  670. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDisplayName"}]
  671. string DisplayName,
  672. [In,
  673. Description("The PathName parameter passes the fully qualified path of the service binary "
  674. "file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys"),
  675. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpBinaryPathName"}]
  676. string PathName,
  677. [In,
  678. Description("The ServiceType parameter passes the type of service provided to processes "
  679. "calling the service."),
  680. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType"},
  681. BitValues{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own "
  682. "Process", "Share Process"},
  683. BitMap{"0", "1", "2", "3", "4", "5", "8"}]
  684. uint8 ServiceType,
  685. [In,
  686. Description("If this service fails to start during startup, the ErrorControl parameter "
  687. "passes the severity of the error. The value indicates the action taken by the startup "
  688. "program if failure occurs. All errors are logged by the system. The system does not "
  689. "notify the user of \"Ignore\" errors. With \"Normal\" errors the user is notified. With "
  690. "\"Severe\" errors, the system is restarted with the last-known-good configuration. "
  691. "Finally, on \"Critical\" errors, the system attempts to restart with a good "
  692. "configuration."),
  693. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwErrorControl"},
  694. Values{"Ignore", "Normal", "Severe", "Critical"}]
  695. uint8 ErrorControl,
  696. [In,
  697. Description("The StartMode property indicates the start mode of the Win32 base service. "
  698. "\"Boot\" specifies a device driver started by the operating system loader. This value is "
  699. "valid only for driver services. \"System\" specifies a device driver started by the "
  700. "IoInitSystem function. This value is valid only for driver services. \"Automatic\" "
  701. "specifies a service to be started automatically by the service control manager during "
  702. "system startup. \"Manual\" specifies a service to be started by the service control "
  703. "manager when a process calls the StartService function. \"Disabled\" specifies a service "
  704. "that can no longer be started."),
  705. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwStartType"},
  706. Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"},
  707. ValueMap{"Boot", "System", "Automatic", "Manual", "Disabled"}]
  708. string StartMode,
  709. [In,
  710. Description("The DesktopInteract parameter passes the value that indicates whether the "
  711. "service can create or communicate with windows on the desktop.\nValues: TRUE or FALSE. A "
  712. "value of TRUE indicates the service can create or communicate with windows on the "
  713. "desktop."),
  714. MappingStrings{"Win32API|Service "
  715. "Structures|QUERY_SERVICE_CONFIG|dwServiceType|SERVICE_INTERACTIVE_PROCESS"}]
  716. boolean DesktopInteract,
  717. [In,
  718. Description("The StartName property indicates the account name the service runs under. "
  719. "Depending on the service type, the account name may be in the form of "
  720. "\"DomainName\\Username\", The service process will be logged using one of these two forms "
  721. "when it runs. If the account belongs to the built-in domain, \".\\Username\" can be "
  722. "specified. If NULL is specified, the service will be logged on as the LocalSystem "
  723. "account. For kernel or system-level drivers, StartName contains the driver object name "
  724. "(that is, \\FileSystem\\Rdr or \\Driver\\Xns) that the input and output (I/O) system uses "
  725. "to load the device driver. If NULL is specified, the driver runs with a default object "
  726. "name created by the I/O system based on the service name.\nExample: DWDOM\\Admin."),
  727. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpServiceStartName"}]
  728. string StartName,
  729. [In,
  730. Description("The StartPassword parameter passes the password to the account name "
  731. "specified by the StartName parameter. Specify NULL if you are not changing the password. "
  732. "Specify an empty string if the service has no password."),
  733. MappingStrings{"Win32API|Service Functions|CreateService|lpPassword"}]
  734. string StartPassword,
  735. [In,
  736. Description("The LoadOrderGroup parameter passes the group name that it is associated "
  737. "with. Load order groups are contained in the system registry, and determine the sequence "
  738. "in which services are loaded into the operating system. If the pointer is NULL, or if it "
  739. "points to an empty string, the service does not belong to a group. Dependencies between "
  740. "groups should be listed in the LoadOrderGroupDependencies parameter. Services in the "
  741. "load-ordering group list are started first, followed by services in groups not in the "
  742. "load-ordering group list, followed by services that do not belong to a group. The system "
  743. "registry has a list of load ordering groups located "
  744. "at:\nHKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ServiceGroupOrder."),
  745. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpLoadOrderGroup"}]
  746. string LoadOrderGroup,
  747. [In,
  748. Description("The LoadOrderGroupDependencies parameter passes a list of load ordering "
  749. "groups that must start before this service starts. The array is doubly null-terminated. "
  750. "If the pointer is NULL, or if it points to an empty string, the service has no "
  751. "dependencies. Group names must be prefixed by the SC_GROUP_IDENTIFIER (defined in the "
  752. "WINSVC.H file) character to differentiate them from service names because services and "
  753. "service groups share the same name space. Dependency on a group means that this service "
  754. "can run if at least one member of the group is running after an attempt to start all "
  755. "members of the group."),
  756. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies"}]
  757. string LoadOrderGroupDependencies[],
  758. [In,
  759. Description("The ServiceDependencies parameter passes a list containing names of services "
  760. "that must start before this service starts. The array is doubly null-terminated. If the "
  761. "pointer is NULL, or if it points to an empty string, the service has no dependencies. "
  762. "Dependency on a service means that this service can run only if the service it depends on "
  763. "is running."),
  764. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies"}]
  765. string ServiceDependencies[]
  766. );
  767. [MethodSource("ChangeStartMode"),
  768. Implemented,
  769. Description("The ChangeStartMode method modifies the StartMode of a service. It returns "
  770. "an integer value of 0 if the service was successfully modified, 1 if the request is not "
  771. "supported, and any other number to indicate an error."),
  772. MappingStrings{"Service Functions|ChangeServiceConfig|dwStartType"}]
  773. uint32 ChangeStartMode(
  774. [In,
  775. Description("The StartMode parameter passes the start mode of the Win32 base service. "
  776. "\"Boot\" specifies a device driver started by the operating system loader. This value is "
  777. "valid only for driver services. \"System\" specifies a device driver started by the "
  778. "IoInitSystem function. This value is valid only for driver services. \"Automatic\" "
  779. "specifies a service to be started automatically by the service control manager during "
  780. "system startup. \"Manual\" specifies a service to be started by the service control "
  781. "manager when a process calls the StartService function. \"Disabled\" specifies a service "
  782. "that can no longer be started."),
  783. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwStartType"},
  784. Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"},
  785. ValueMap{"Boot", "System", "Automatic", "Manual", "Disabled"}]
  786. string StartMode = "Automatic"
  787. );
  788. [MethodSource("Delete"),
  789. Destructor,
  790. Implemented,
  791. Description("The Delete method deletes an existing service. It returns an integer value "
  792. "of 0 if the service was successfully deleted, 1 if the request is not supported, and any "
  793. "other number to indicate an error."),
  794. MappingStrings{"Win32API|Service Functions|ChangeServiceConfig|DeleteService"}]
  795. uint32 Delete();
  796. };
  797. [Description("The Win32_Service class represents a service on a Win32 computer system. A "
  798. "service application conforms to the interface rules of the Service Control Manager (SCM) "
  799. "and can be started by a user automatically at system boot through the Services control "
  800. "panel utility, or by an application that uses the service functions included in the Win32 "
  801. "API. Services can execute even when no user is logged on to the system."),
  802. union,
  803. ViewSources{"Select * from Win32_Service"},
  804. ViewSpaces{"\\\\.\\root\\cimv2"},
  805. provider("MS_VIEW_INSTANCE_PROVIDER"),
  806. dynamic,
  807. Locale(1033),
  808. UUID("{8502C4D9-5FBB-11D2-AAC1-006008C78BC7}")]
  809. class Win32_Service : Win32_BaseService
  810. {
  811. [read,
  812. PropertySources("CheckPoint"),
  813. Description("The CheckPoint property specifies a value that the service increments "
  814. "periodically to report its progress during a lengthy start, stop, pause, or continue "
  815. "operation. For example, the service should increment this value as it completes each step "
  816. "of its initialization when it is starting up. The user interface program that invoked the "
  817. "operation on the service uses this value to track the progress of the service during a "
  818. "lengthy operation. This value is not valid and should be zero when the service does not "
  819. "have a start, stop, pause, or continue operation pending."),
  820. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwCheckPoint"}]
  821. uint32 CheckPoint;
  822. [read,
  823. PropertySources("WaitHint"),
  824. Description("The WaitHint property specifies the estimated time required (in "
  825. "milliseconds) for a pending start, stop, pause, or continue operation. After the "
  826. "specified amount of time has elapsed, the service makes its next call to the "
  827. "SetServiceStatus function with either an incremented CheckPoint value or a change in "
  828. "CurrentState. If the amount of time specified by WaitHint passes, and CheckPoint has not "
  829. "been incremented, or the CurrentState has not changed, the service control manager or "
  830. "service control program assumes that an error has occurred."),
  831. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwWaitHint"}]
  832. uint32 WaitHint;
  833. [read,
  834. PropertySources("ProcessId"),
  835. Description("The ProcessId property specifies the process identifier of the "
  836. "service.\nExample: 324"),
  837. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS_PROCESS|dwProcessId"}]
  838. uint32 ProcessId;
  839. };
  840. [Abstract, Locale ( 0x409 ) , UUID ( "{120BB700-DB2B-11d2-85FC-0000F8102E5F}" ),
  841. Description(" The CIM_ApplicationSystem class is used to represent an application "
  842. "or a software system that supports a particular business function "
  843. "and that can be managed as an independent units. Such a system "
  844. "can be decomposed into its functional components using the CIM_SoftwareFeature "
  845. "class. The software features for a particular application or "
  846. "software system are located using the CIM_ApplicationSystemSoftwareFeature "
  847. " association. ")]
  848. class CIM_ApplicationSystem: CIM_System
  849. {
  850. };
  851. [Abstract,
  852. Association,
  853. Locale(1033),
  854. UUID("{8502C577-5FBB-11D2-AAC1-006008C78BC7}"),
  855. Description (
  856. "ElementSetting represents the association between Managed"
  857. "SystemElements and the Setting class(es) defined for them.") ]
  858. class CIM_ElementSetting
  859. {
  860. [read,
  861. Description("The Element reference represents the role of the CIM_ManagedSystemElement "
  862. "object of the CIM_ElementSetting association. Role: The associated managed system element "
  863. "provides the element that implements the element setting.")]
  864. CIM_ManagedSystemElement ref Element;
  865. [read,
  866. Description("The CIM_Setting reference represents the role of the CIM_Setting object of "
  867. "the CIM_ElementSetting association. Role: The associated setting provides the setting "
  868. "that implements the element setting.")]
  869. CIM_Setting ref Setting;
  870. };
  871. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  872. class IIs_Computer : CIM_ApplicationSystem
  873. {
  874. [key] string Name;
  875. [Implemented,Locale(1033)] void Backup([IN] string BackupLocation,[IN] sint32 BackupVersion,[IN] sint32 BackupFlags);
  876. [Implemented,Locale(1033)] void DeleteBackup([IN] string BackupLocation,[IN] sint32 BackupVersion);
  877. [Implemented,Locale(1033)] void EnumBackups([IN,OUT] string BackupLocation,[IN] sint32 IndexIn,[OUT] sint32 BackupVersionOut,[OUT] datetime BackupDateTimeOut);
  878. [Implemented,Locale(1033)] void Restore([IN] string BackupLocation,[IN] sint32 BackupVersion,[IN] sint32 BackupFlags);
  879. };
  880. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  881. class IIs_ComputerSetting : CIM_Setting
  882. {
  883. sint32 MaxBandwidth;
  884. sint32 MaxBandwidthBlocked;
  885. string MimeMap[];
  886. [key] string Name;
  887. };
  888. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  889. class IIs_FtpService : Win32_Service
  890. {
  891. [Implemented,Locale(1033)] IIs_FtpServer ref CreateNewServer([OPTIONAL, IN] string ServerNumber,[IN] string ServerComment,[IN] string ServerBindings[],[IN] string PathOfRootVitualDir);
  892. };
  893. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  894. class IIs_FtpCommonSetting : CIM_Setting
  895. {
  896. sint32 AccessFlags;
  897. boolean AccessRead;
  898. boolean AccessWrite;
  899. boolean DontLog;
  900. boolean FtpDirBrowseShowLongDate;
  901. };
  902. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  903. class IIs_FtpServerCommonSetting : IIs_FtpCommonSetting
  904. {
  905. boolean AllowAnonymous;
  906. boolean AnonymousOnly;
  907. boolean AnonymousPasswordSync;
  908. string AnonymousUserName;
  909. string AnonymousUserPass;
  910. sint32 ConnectionTimeout;
  911. string DefaultLogonDomain;
  912. boolean DisableSocketPooling;
  913. string ExitMessage;
  914. string GreetingMessage[];
  915. boolean LogAnonymous;
  916. boolean LogExtFileBytesRecv;
  917. boolean LogExtFileBytesSent;
  918. boolean LogExtFileClientIp;
  919. boolean LogExtFileComputerName;
  920. boolean LogExtFileCookie;
  921. boolean LogExtFileDate;
  922. sint32 LogExtFileFlags;
  923. boolean LogExtFileHttpStatus;
  924. boolean LogExtFileMethod;
  925. boolean LogExtFileProtocolVersion;
  926. boolean LogExtFileReferer;
  927. boolean LogExtFileServerIp;
  928. boolean LogExtFileServerPort;
  929. boolean LogExtFileSiteName;
  930. boolean LogExtFileTime;
  931. boolean LogExtFileTimeTaken;
  932. boolean LogExtFileUriQuery;
  933. boolean LogExtFileUriStem;
  934. boolean LogExtFileUserAgent;
  935. boolean LogExtFileUserName;
  936. boolean LogExtFileWin32Status;
  937. string LogFileDirectory;
  938. boolean LogFileLocaltimeRollover;
  939. sint32 LogFilePeriod;
  940. sint32 LogFileTruncateSize;
  941. boolean LogNonAnonymous;
  942. string LogOdbcDataSource;
  943. string LogOdbcPassword;
  944. string LogOdbcTableName;
  945. string LogOdbcUserName;
  946. string LogPluginClsId;
  947. sint32 LogType;
  948. string MaxClientsMessage;
  949. sint32 MaxConnections;
  950. sint32 MaxEndpointConnections;
  951. boolean MSDOSDirOutput;
  952. string Realm;
  953. boolean ServerAutoStart;
  954. string ServerBindings[];
  955. string ServerComment;
  956. sint32 ServerListenBacklog;
  957. sint32 ServerListenTimeout;
  958. sint32 ServerSize;
  959. };
  960. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  961. class IIs_FtpServiceSetting : IIs_FtpServerCommonSetting
  962. {
  963. sint32 DirectoryLevelsToScan;
  964. string DownlevelAdminInstance;
  965. [key] string Name;
  966. };
  967. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  968. class IIs_FtpServer : CIM_LogicalElement
  969. {
  970. [key] string Name;
  971. sint32 ServerState;
  972. [Implemented,Locale(1033)] void Start();
  973. [Implemented,Locale(1033)] void Stop();
  974. [Implemented,Locale(1033)] void Pause();
  975. [Implemented,Locale(1033)] void Continue();
  976. };
  977. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  978. class IIs_FtpServerSetting : IIs_FtpServerCommonSetting
  979. {
  980. [key] string Name;
  981. };
  982. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  983. class IIs_WebService : Win32_Service
  984. {
  985. string AdminServer;
  986. sint32 AppIsolated;
  987. string AppPackageName;
  988. string AppWamClsID;
  989. [Implemented,Locale(1033)] IIs_WebServer ref CreateNewServer([OPTIONAL, IN] string ServerNumber,[IN] string ServerComment,[IN] string ServerBindings[],[IN] string PathOfRootVitualDir);
  990. };
  991. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  992. class IIs_WebCommonSetting : CIM_Setting
  993. {
  994. boolean AccessExecute;
  995. sint32 AccessFlags;
  996. boolean AccessNoRemoteExecute;
  997. boolean AccessNoRemoteRead;
  998. boolean AccessNoRemoteScript;
  999. boolean AccessNoRemoteWrite;
  1000. boolean AccessRead;
  1001. boolean AccessScript;
  1002. boolean AccessSSL;
  1003. boolean AccessSSL128;
  1004. sint32 AccessSSLFlags;
  1005. boolean AccessSSLMapCert;
  1006. boolean AccessSSLNegotiateCert;
  1007. boolean AccessSSLRequireCert;
  1008. boolean AccessWrite;
  1009. boolean AnonymousPasswordSync;
  1010. string AnonymousUserName;
  1011. string AnonymousUserPass;
  1012. boolean AuthAnonymous;
  1013. boolean AuthBasic;
  1014. sint32 AuthFlags;
  1015. boolean AuthNTLM;
  1016. sint32 AuthPersistence;
  1017. boolean AuthPersistSingleRequest;
  1018. boolean AuthPersistSingleRequestAlwaysIfProxy;
  1019. boolean AuthPersistSingleRequestIfProxy;
  1020. string CacheControlCustom;
  1021. sint32 CacheControlMaxAge;
  1022. boolean CacheControlNoCache;
  1023. sint32 CGITimeout;
  1024. boolean CpuAppEnabled;
  1025. boolean CpuCgiEnabled;
  1026. boolean CreateCGIWithNewConsole;
  1027. boolean CreateProcessAsUser;
  1028. string DefaultDocFooter;
  1029. string DefaultLogonDomain;
  1030. boolean DontLog;
  1031. boolean EnableDocFooter;
  1032. boolean EnableReverseDns;
  1033. string HttpCustomHeaders[];
  1034. string HttpErrors[];
  1035. string HttpExpires;
  1036. string HttpPics[];
  1037. string HttpRedirect;
  1038. sint32 LogonMethod;
  1039. string MimeMap[];
  1040. sint32 PoolIDCTimeout;
  1041. sint32 PutReadSize;
  1042. string Realm;
  1043. string Redirectheaders;
  1044. string ScriptMaps[];
  1045. boolean SSIExecDisable;
  1046. boolean UNCAuthenticationPassthrough;
  1047. sint32 UploadReadAheadSize;
  1048. };
  1049. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1050. class IIs_WebDirCommonSetting : IIs_WebCommonSetting
  1051. {
  1052. boolean AppAllowClientDebug;
  1053. boolean AppAllowDebugging;
  1054. string AppFriendlyName;
  1055. string AppPackageID;
  1056. string AppRoot;
  1057. boolean AspAllowOutOfProcComponents;
  1058. boolean AspAllowSessionState;
  1059. boolean AspBufferingOn;
  1060. sint32 AspCodepage;
  1061. boolean AspEnableApplicationRestart;
  1062. boolean AspEnableAspHtmlFallback;
  1063. boolean AspEnableChunkedEncoding;
  1064. boolean AspEnableParentPaths;
  1065. boolean AspEnableTypelibCache;
  1066. boolean AspErrorsToNTLog;
  1067. boolean AspExceptionCatchEnable;
  1068. boolean AspLogErrorRequests;
  1069. sint32 AspProcessorThreadMax;
  1070. sint32 AspQueueConnectionTestTime;
  1071. sint32 AspQueueTimeout;
  1072. sint32 AspRequestQueueMax;
  1073. sint32 AspScriptEngineCacheMax;
  1074. string AspScriptErrorMessage;
  1075. boolean AspScriptErrorSentToBrowser;
  1076. sint32 AspScriptFileCacheSize;
  1077. string AspScriptLanguage;
  1078. sint32 AspScriptTimeout;
  1079. sint32 AspSessionMax;
  1080. sint32 AspSessionTimeout;
  1081. boolean AspThreadGateEnabled;
  1082. sint32 AspThreadGateLoadHigh;
  1083. sint32 AspThreadGateLoadLow;
  1084. sint32 AspThreadGateSleepDelay;
  1085. sint32 AspThreadGateSleepMax;
  1086. sint32 AspThreadGateTimeSlice;
  1087. boolean AspTrackThreadingModel;
  1088. boolean CacheISAPI;
  1089. boolean ContentIndexed;
  1090. string DefaultDoc;
  1091. sint32 DirBrowseFlags;
  1092. boolean DirBrowseShowDate;
  1093. boolean DirBrowseShowExtension;
  1094. boolean DirBrowseShowLongDate;
  1095. boolean DirBrowseShowSize;
  1096. boolean DirBrowseShowTime;
  1097. boolean EnableDefaultDoc;
  1098. boolean EnableDirBrowsing;
  1099. };
  1100. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1101. class IIs_WebServerCommonSetting : IIs_WebDirCommonSetting
  1102. {
  1103. boolean AccessSource;
  1104. boolean AllowKeepAlive;
  1105. boolean AllowPathInfoForScriptMappings;
  1106. sint32 ConnectionTimeout;
  1107. boolean CpuEnableActiveProcs;
  1108. boolean CpuEnableAllProcLogging;
  1109. boolean CpuEnableApplicationLogging;
  1110. boolean CpuEnableCgiLogging;
  1111. boolean CpuEnableEvent;
  1112. boolean CpuEnableKernelTime;
  1113. boolean CpuEnableLogging;
  1114. boolean CpuEnablePageFaults;
  1115. boolean CpuEnableProcType;
  1116. boolean CpuEnableTerminatedProcs;
  1117. boolean CpuEnableTotalProcs;
  1118. boolean CpuEnableUserTime;
  1119. sint32 CpuLimitLogEvent;
  1120. sint32 CpuLimitPause;
  1121. sint32 CpuLimitPriority;
  1122. sint32 CpuLimitProcStop;
  1123. boolean CpuLimitsEnabled;
  1124. sint32 CpuLoggingInterval;
  1125. sint32 CpuLoggingMask;
  1126. sint32 CpuLoggingOptions;
  1127. sint32 CpuResetInterval;
  1128. boolean DisableSocketPooling;
  1129. boolean LogExtFileBytesRecv;
  1130. boolean LogExtFileBytesSent;
  1131. boolean LogExtFileClientIp;
  1132. boolean LogExtFileComputerName;
  1133. boolean LogExtFileCookie;
  1134. boolean LogExtFileDate;
  1135. sint32 LogExtFileFlags;
  1136. boolean LogExtFileHttpStatus;
  1137. boolean LogExtFileMethod;
  1138. boolean LogExtFileProtocolVersion;
  1139. boolean LogExtFileReferer;
  1140. boolean LogExtFileServerIp;
  1141. boolean LogExtFileServerPort;
  1142. boolean LogExtFileSiteName;
  1143. boolean LogExtFileTime;
  1144. boolean LogExtFileTimeTaken;
  1145. boolean LogExtFileUriQuery;
  1146. boolean LogExtFileUriStem;
  1147. boolean LogExtFileUserAgent;
  1148. boolean LogExtFileUserName;
  1149. boolean LogExtFileWin32Status;
  1150. string LogFileDirectory;
  1151. boolean LogFileLocaltimeRollover;
  1152. sint32 LogFilePeriod;
  1153. sint32 LogFileTruncateSize;
  1154. string LogOdbcDataSource;
  1155. string LogOdbcPassword;
  1156. string LogOdbcTableName;
  1157. string LogOdbcUserName;
  1158. string LogPluginClsId;
  1159. sint32 LogType;
  1160. sint32 MaxConnections;
  1161. sint32 MaxEndpointConnections;
  1162. sint32 NetLogonWorkstation;
  1163. string NTAuthenticationProviders;
  1164. sint32 PasswordCacheTTL;
  1165. sint32 PasswordChangeFlags;
  1166. sint32 PasswordExpirePrenotifyDays;
  1167. boolean ProcessNTCRIfLoggedOn;
  1168. boolean ServerAutoStart;
  1169. string ServerBindings[];
  1170. string ServerComment;
  1171. sint32 ServerListenBacklog;
  1172. sint32 ServerListenTimeout;
  1173. sint32 ServerSize;
  1174. boolean UseHostName;
  1175. };
  1176. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1177. class IIs_WebServiceSetting : IIs_WebServerCommonSetting
  1178. {
  1179. string InProcessIsapiApps[];
  1180. [key] string Name;
  1181. string WAMUserName;
  1182. string WAMUserPass;
  1183. sint32 DirectoryLevelsToScan;
  1184. string DownlevelAdminInstance;
  1185. };
  1186. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1187. class IIs_WebServer : CIM_LogicalElement
  1188. {
  1189. [key] string Name;
  1190. sint32 ServerState;
  1191. sint32 AppIsolated;
  1192. string AppPackageName;
  1193. string AppWamClsID;
  1194. [Implemented,Locale(1033)] void Start();
  1195. [Implemented,Locale(1033)] void Stop();
  1196. [Implemented,Locale(1033)] void Pause();
  1197. [Implemented,Locale(1033)] void Continue();
  1198. };
  1199. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1200. class IIs_WebServerSetting : IIs_WebServerCommonSetting
  1201. {
  1202. sint32 AppOopRecoverLimit;
  1203. sint32 MaxBandwidth;
  1204. sint32 MaxBandwidthBlocked;
  1205. boolean NotDeletable;
  1206. string SecureBindings[];
  1207. string ServerID;
  1208. [key] string Name;
  1209. };
  1210. [Abstract,Locale(1033)]
  1211. class IIs_Directory : CIM_LogicalElement
  1212. {
  1213. [key] string Name;
  1214. };
  1215. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1216. class IIs_WebVirtualDir : IIs_Directory
  1217. {
  1218. sint32 AppIsolated;
  1219. string AppPackageName;
  1220. string AppWamClsID;
  1221. boolean AppEnabled;
  1222. uint32 AppStatus;
  1223. [Implemented,Locale(1033)] void AppCreate([IN] boolean InProcFlag);
  1224. [Implemented,Locale(1033)] void AppCreate2([IN] sint32 AppMode);
  1225. [Implemented,Locale(1033)] void AppDelete([IN] boolean Recursive);
  1226. [Implemented,Locale(1033)] void AppUnLoad([IN] boolean Recursive);
  1227. [Implemented,Locale(1033)] void AppEnable([IN] boolean Recursive);
  1228. [Implemented,Locale(1033)] void AppDisable([IN] boolean Recursive);
  1229. [Implemented,Locale(1033)] uint32 AppGetStatus();
  1230. [Implemented,Locale(1033)] void AspAppRestart();
  1231. };
  1232. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1233. class IIs_WebVirtualDirSetting : IIs_WebDirCommonSetting
  1234. {
  1235. boolean AccessSource;
  1236. sint32 AppOopRecoverLimit;
  1237. string Path;
  1238. [key] string Name;
  1239. string UNCPassword;
  1240. string UNCUserName;
  1241. };
  1242. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1243. class IIs_WebDirectory : IIs_Directory
  1244. {
  1245. sint32 AppIsolated;
  1246. string AppPackageName;
  1247. string AppWamClsID;
  1248. boolean AppEnabled;
  1249. uint32 AppStatus;
  1250. [Implemented,Locale(1033)] void AppCreate([IN] boolean InProcFlag);
  1251. [Implemented,Locale(1033)] void AppCreate2([IN] sint32 AppMode);
  1252. [Implemented,Locale(1033)] void AppDelete([IN] boolean Recursive);
  1253. [Implemented,Locale(1033)] void AppUnLoad([IN] boolean Recursive);
  1254. [Implemented,Locale(1033)] void AppEnable([IN] boolean Recursive);
  1255. [Implemented,Locale(1033)] void AppDisable([IN] boolean Recursive);
  1256. [Implemented,Locale(1033)] uint32 AppGetStatus();
  1257. [Implemented,Locale(1033)] void AspAppRestart();
  1258. };
  1259. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1260. class IIs_WebDirectorySetting : IIs_WebDirCommonSetting
  1261. {
  1262. sint32 AppOopRecoverLimit;
  1263. [key] string Name;
  1264. };
  1265. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1266. class IIs_FtpVirtualDir : IIs_Directory
  1267. {
  1268. };
  1269. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1270. class IIs_FtpVirtualDirSetting : IIs_FtpCommonSetting
  1271. {
  1272. string Path;
  1273. [key] string Name;
  1274. string UNCPassword;
  1275. string UNCUserName;
  1276. };
  1277. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1278. class IIs_WebFile : IIs_Directory
  1279. {
  1280. };
  1281. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1282. class IIs_WebFileSetting : IIs_WebCommonSetting
  1283. {
  1284. boolean AccessSource;
  1285. [key] string Name;
  1286. };
  1287. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1288. class IIs_AdminACL : CIM_LogicalElement
  1289. {
  1290. [key] string Name;
  1291. string Owner;
  1292. string Group;
  1293. sint32 ControlFlags;
  1294. };
  1295. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1296. class IIs_ACE : CIM_LogicalElement
  1297. {
  1298. [key] string Name;
  1299. [key] string Trustee;
  1300. sint32 AccessMask;
  1301. sint32 AceType;
  1302. sint32 AceFlags;
  1303. sint32 Flags;
  1304. string ObjectType;
  1305. string InheritedObjectType;
  1306. };
  1307. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1308. class IIs_AdminACL_ACE : CIM_Component
  1309. {
  1310. [key,Override("GroupComponent"),Locale(1033)] IIs_AdminACL Ref GroupComponent;
  1311. [key,Override("PartComponent"),Locale(1033)] IIs_ACE Ref PartComponent;
  1312. };
  1313. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1314. class IIs_CompressionSchemeSetting : CIM_Setting
  1315. {
  1316. string HcCompressionDll;
  1317. sint32 HcCreateFlags;
  1318. boolean HcDoDynamicCompression;
  1319. boolean HcDoOnDemandCompression;
  1320. boolean HcDoStaticCompression;
  1321. sint32 HcDynamicCompressionLevel;
  1322. string HcFileExtensions[];
  1323. string HcMimeType;
  1324. sint32 HcOnDemandCompLevel;
  1325. sint32 HcPriority;
  1326. string HcScriptFileExtensions[];
  1327. [key] string Name;
  1328. };
  1329. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1330. class IIs_CustomLogModuleSetting : CIM_Setting
  1331. {
  1332. [key] string Name;
  1333. sint32 LogCustomPropertyDataType;
  1334. string LogCustomPropertyHeader;
  1335. sint32 LogCustomPropertyID;
  1336. sint32 LogCustomPropertyMask;
  1337. string LogCustomPropertyName;
  1338. string LogCustomPropertyServicesString[];
  1339. };
  1340. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1341. class IIs_WebInfoSetting : CIM_Setting
  1342. {
  1343. string CustomErrorDescriptions[];
  1344. string LogModuleList;
  1345. boolean ServerConfigAutoPWSync;
  1346. sint32 ServerConfigFlags;
  1347. boolean ServerConfigSSL128;
  1348. boolean ServerConfigSSL40;
  1349. boolean ServerConfigSSLAllowEncrypt;
  1350. [key] string Name;
  1351. };
  1352. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1353. class IIs_CertMapper : CIM_LogicalElement
  1354. {
  1355. [key] string Name;
  1356. [Implemented,Locale(1033)] void CreateMapping([IN] string vCert,[IN] string NtAcct,[IN] string NtPwd,[IN] string strName,[IN] boolean IEnabled);
  1357. [Implemented,Locale(1033)] void DeleteMapping([IN] sint32 IMethod,[IN] string vKey);
  1358. [Implemented,Locale(1033)] void GetMapping([IN] sint32 IMethod,[IN] string vKey,[OUT] string vCert,[OUT] string NtAcct,[OUT] string NtPwd,[OUT] string strName,[OUT] boolean IEnabled);
  1359. [Implemented,Locale(1033)] void SetAcct([IN] sint32 IMethod,[IN] string vKey,[IN] string NtAcct);
  1360. [Implemented,Locale(1033)] void SetEnabled([IN] sint32 IMethod,[IN] string vKey,[IN] boolean IEnabled);
  1361. [Implemented,Locale(1033)] void SetName([IN] sint32 IMethod,[IN] string vKey,[IN] string strName);
  1362. [Implemented,Locale(1033)] void SetPwd([IN] sint32 IMethod,[IN] string vKey,[IN] string NtPwd);
  1363. };
  1364. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1365. class IIs_Filter : CIM_LogicalElement
  1366. {
  1367. [key] string Name;
  1368. string FilterDescription;
  1369. boolean FilterEnabled;
  1370. sint32 FilterFlags;
  1371. string FilterPath;
  1372. sint32 FilterState;
  1373. boolean NotifyAuthentication;
  1374. boolean NotifyEndOfNetSession;
  1375. boolean NotifyEndOfRequest;
  1376. boolean NotifyLog;
  1377. boolean NotifyNonSecurePort;
  1378. boolean NotifyOrderHigh;
  1379. boolean NotifyOrderLow;
  1380. boolean NotifyOrderMedium;
  1381. boolean NotifyPreProcHeaders;
  1382. boolean NotifyReadRawData;
  1383. boolean NotifySecurePort;
  1384. boolean NotifySendRawData;
  1385. boolean NotifySendResponse;
  1386. boolean NotifyUrlMap;
  1387. boolean NotifyAccessDenied;
  1388. };
  1389. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1390. class IIs_MimeTypeSetting : CIM_Setting
  1391. {
  1392. string MimeMap[];
  1393. [key] string Name;
  1394. };
  1395. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1396. class IIs_LogModuleSetting : CIM_Setting
  1397. {
  1398. [key] string Name;
  1399. string LogModuleId;
  1400. string LogModuleUiId;
  1401. };
  1402. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1403. class IIs_IPSecuritySetting : CIM_Setting
  1404. {
  1405. [key] string Name;
  1406. string IPDeny[];
  1407. string IPGrant[];
  1408. string DomainDeny[];
  1409. string DomainGrant[];
  1410. boolean GrantByDefault;
  1411. };
  1412. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1413. class IIs_FtpInfoSetting : CIM_Setting
  1414. {
  1415. string LogModuleList;
  1416. [key] string Name;
  1417. };
  1418. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1419. class IIs_Computer_ComputerSetting : CIM_ElementSetting
  1420. {
  1421. [key,Override("Element"),Locale(1033)] IIs_Computer Ref Element;
  1422. [key,Override("Setting"),Locale(1033)] IIs_ComputerSetting Ref Setting;
  1423. };
  1424. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1425. class IIs_Computer_FtpService : CIM_Component
  1426. {
  1427. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_Computer Ref GroupComponent;
  1428. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_FtpService Ref PartComponent;
  1429. };
  1430. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1431. class IIs_Computer_WebService : CIM_Component
  1432. {
  1433. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_Computer Ref GroupComponent;
  1434. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_WebService Ref PartComponent;
  1435. };
  1436. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1437. class IIs_Computer_MimeTypeSetting : CIM_ElementSetting
  1438. {
  1439. [key,Override("Element"),Locale(1033)] IIs_Computer Ref Element;
  1440. [key,Override("Setting"),Locale(1033)] IIs_MimeTypeSetting Ref Setting;
  1441. };
  1442. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1443. class IIs_Computer_LogModuleSetting : CIM_ElementSetting
  1444. {
  1445. [key,Override("Element"),Locale(1033)] IIs_Computer Ref Element;
  1446. [key,Override("Setting"),Locale(1033)] IIs_LogModuleSetting Ref Setting;
  1447. };
  1448. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1449. class IIs_Computer_CustomLogModuleSetting : CIM_ElementSetting
  1450. {
  1451. [key,Override("Element"),Locale(1033)] IIs_Computer Ref Element;
  1452. [key,Override("Setting"),Locale(1033)] IIs_CustomLogModuleSetting Ref Setting;
  1453. };
  1454. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1455. class IIs_FtpService_FtpServer : CIM_Component
  1456. {
  1457. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_FtpService Ref GroupComponent;
  1458. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_FtpServer Ref PartComponent;
  1459. };
  1460. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1461. class IIs_FtpService_IPSecuritySetting : CIM_ElementSetting
  1462. {
  1463. [key,Override("Element"),Locale(1033)] IIs_FtpService Ref Element;
  1464. [key,Override("Setting"),Locale(1033)] IIs_IPSecuritySetting Ref Setting;
  1465. };
  1466. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1467. class IIs_FtpService_FtpInfoSetting : CIM_ElementSetting
  1468. {
  1469. [key,Override("Element"),Locale(1033)] IIs_FtpService Ref Element;
  1470. [key,Override("Setting"),Locale(1033)] IIs_FtpInfoSetting Ref Setting;
  1471. };
  1472. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1473. class IIs_FtpService_AdminACL : CIM_Component
  1474. {
  1475. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_FtpService Ref GroupComponent;
  1476. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_AdminACL Ref PartComponent;
  1477. };
  1478. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1479. class IIs_FtpService_FtpServiceSetting : CIM_ElementSetting
  1480. {
  1481. [key,Override("Element"),Locale(1033)] IIs_FtpService Ref Element;
  1482. [key,Override("Setting"),Locale(1033)] IIs_FtpServiceSetting Ref Setting;
  1483. };
  1484. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1485. class IIs_FtpServer_FtpServerSetting : CIM_ElementSetting
  1486. {
  1487. [key,Override("Element"),Locale(1033)] IIs_FtpServer Ref Element;
  1488. [key,Override("Setting"),Locale(1033)] IIs_FtpServerSetting Ref Setting;
  1489. };
  1490. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1491. class IIs_FtpServer_FtpVirtualDir : CIM_Component
  1492. {
  1493. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_FtpServer Ref GroupComponent;
  1494. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_FtpVirtualDir Ref PartComponent;
  1495. };
  1496. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1497. class IIs_FtpServer_IPSecuritySetting : CIM_ElementSetting
  1498. {
  1499. [key,Override("Element"),Locale(1033)] IIs_FtpServer Ref Element;
  1500. [key,Override("Setting"),Locale(1033)] IIs_IPSecuritySetting Ref Setting;
  1501. };
  1502. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1503. class IIs_FtpServer_AdminACL : CIM_Component
  1504. {
  1505. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_FtpServer Ref GroupComponent;
  1506. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_AdminACL Ref PartComponent;
  1507. };
  1508. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1509. class IIs_WebService_WebInfoSetting : CIM_ElementSetting
  1510. {
  1511. [key,Override("Element"),Locale(1033)] IIs_WebService Ref Element;
  1512. [key,Override("Setting"),Locale(1033)] IIs_WebInfoSetting Ref Setting;
  1513. };
  1514. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1515. class IIs_WebService_WebServiceSetting : CIM_ElementSetting
  1516. {
  1517. [key,Override("Element"),Locale(1033)] IIs_WebService Ref Element;
  1518. [key,Override("Setting"),Locale(1033)] IIs_WebServiceSetting Ref Setting;
  1519. };
  1520. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1521. class IIs_WebService_WebServer : CIM_Component
  1522. {
  1523. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebService Ref GroupComponent;
  1524. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_WebServer Ref PartComponent;
  1525. };
  1526. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1527. class IIs_WebService_Filter : CIM_Component
  1528. {
  1529. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebService Ref GroupComponent;
  1530. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_Filter Ref PartComponent;
  1531. };
  1532. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1533. class IIs_WebService_CompressionSchemeSetting : CIM_ElementSetting
  1534. {
  1535. [key,Override("Element"),Locale(1033)] IIs_WebService Ref Element;
  1536. [key,Override("Setting"),Locale(1033)] IIs_CompressionSchemeSetting Ref Setting;
  1537. };
  1538. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1539. class IIs_WebService_AdminACL : CIM_Component
  1540. {
  1541. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebService Ref GroupComponent;
  1542. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_AdminACL Ref PartComponent;
  1543. };
  1544. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1545. class IIs_WebService_IPSecuritySetting : CIM_ElementSetting
  1546. {
  1547. [key,Override("Element"),Locale(1033)] IIs_WebService Ref Element;
  1548. [key,Override("Setting"),Locale(1033)] IIs_IPSecuritySetting Ref Setting;
  1549. };
  1550. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1551. class IIs_WebServer_WebServerSetting : CIM_ElementSetting
  1552. {
  1553. [key,Override("Element"),Locale(1033)] IIs_WebServer Ref Element;
  1554. [key,Override("Setting"),Locale(1033)] IIs_WebServerSetting Ref Setting;
  1555. };
  1556. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1557. class IIs_WebServer_Filter : CIM_Component
  1558. {
  1559. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebServer Ref GroupComponent;
  1560. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_Filter Ref PartComponent;
  1561. };
  1562. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1563. class IIs_WebServer_CertMapper : CIM_Component
  1564. {
  1565. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebServer Ref GroupComponent;
  1566. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_CertMapper Ref PartComponent;
  1567. };
  1568. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1569. class IIs_WebServer_WebVirtualDir : CIM_Component
  1570. {
  1571. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebServer Ref GroupComponent;
  1572. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_WebVirtualDir Ref PartComponent;
  1573. };
  1574. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1575. class IIs_WebServer_AdminACL : CIM_Component
  1576. {
  1577. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebServer Ref GroupComponent;
  1578. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_AdminACL Ref PartComponent;
  1579. };
  1580. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1581. class IIs_WebServer_IPSecuritySetting : CIM_ElementSetting
  1582. {
  1583. [key,Override("Element"),Locale(1033)] IIs_WebServer Ref Element;
  1584. [key,Override("Setting"),Locale(1033)] IIs_IPSecuritySetting Ref Setting;
  1585. };
  1586. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1587. class IIs_WebVirtualDir_WebVirtualDirSetting : CIM_ElementSetting
  1588. {
  1589. [key,Override("Element"),Locale(1033)] IIs_WebVirtualDir Ref Element;
  1590. [key,Override("Setting"),Locale(1033)] IIs_WebVirtualDirSetting Ref Setting;
  1591. };
  1592. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1593. class IIs_WebVirtualDir_IPSecuritySetting : CIM_ElementSetting
  1594. {
  1595. [key,Override("Element"),Locale(1033)] IIs_WebVirtualDir Ref Element;
  1596. [key,Override("Setting"),Locale(1033)] IIs_IPSecuritySetting Ref Setting;
  1597. };
  1598. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1599. class IIs_WebVirtualDir_AdminACL : CIM_Component
  1600. {
  1601. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebVirtualDir Ref GroupComponent;
  1602. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_AdminACL Ref PartComponent;
  1603. };
  1604. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1605. class IIs_WebVirtualSubDir : CIM_Component
  1606. {
  1607. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebVirtualDir Ref GroupComponent;
  1608. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_WebVirtualDir Ref PartComponent;
  1609. };
  1610. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1611. class IIs_WebVirtualDir_File : CIM_Component
  1612. {
  1613. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebVirtualDir Ref GroupComponent;
  1614. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_WebFile Ref PartComponent;
  1615. };
  1616. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1617. class IIs_WebVirtualDir_WebDirectory : CIM_Component
  1618. {
  1619. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebVirtualDir Ref GroupComponent;
  1620. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_WebDirectory Ref PartComponent;
  1621. };
  1622. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1623. class IIs_WebDirectory_WebDirectorySetting : CIM_ElementSetting
  1624. {
  1625. [key,Override("Element"),Locale(1033)] IIs_WebDirectory Ref Element;
  1626. [key,Override("Setting"),Locale(1033)] IIs_WebDirectorySetting Ref Setting;
  1627. };
  1628. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1629. class IIs_WebDirectory_IPSecuritySetting : CIM_ElementSetting
  1630. {
  1631. [key,Override("Element"),Locale(1033)] IIs_WebDirectory Ref Element;
  1632. [key,Override("Setting"),Locale(1033)] IIs_IPSecuritySetting Ref Setting;
  1633. };
  1634. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1635. class IIs_WebDirectory_AdminACL : CIM_Component
  1636. {
  1637. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebDirectory Ref GroupComponent;
  1638. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_AdminACL Ref PartComponent;
  1639. };
  1640. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1641. class IIs_WebSubDirectory : CIM_Component
  1642. {
  1643. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebDirectory Ref GroupComponent;
  1644. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_WebDirectory Ref PartComponent;
  1645. };
  1646. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1647. class IIs_WebDirectory_WebVirtualDir : CIM_Component
  1648. {
  1649. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebDirectory Ref GroupComponent;
  1650. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_WebVirtualDir Ref PartComponent;
  1651. };
  1652. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1653. class IIs_WebDirectory_File : CIM_Component
  1654. {
  1655. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebDirectory Ref GroupComponent;
  1656. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_WebFile Ref PartComponent;
  1657. };
  1658. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1659. class IIs_FtpVirtualDir_FtpVirtualDirSetting : CIM_ElementSetting
  1660. {
  1661. [key,Override("Element"),Locale(1033)] IIs_FtpVirtualDir Ref Element;
  1662. [key,Override("Setting"),Locale(1033)] IIs_FtpVirtualDirSetting Ref Setting;
  1663. };
  1664. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1665. class IIs_FtpVirtualSubDir : CIM_Component
  1666. {
  1667. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_FtpVirtualDir Ref GroupComponent;
  1668. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_FtpVirtualDir Ref PartComponent;
  1669. };
  1670. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1671. class IIs_WebFile_WebFileSetting : CIM_ElementSetting
  1672. {
  1673. [key,Override("Element"),Locale(1033)] IIs_WebFile Ref Element;
  1674. [key,Override("Setting"),Locale(1033)] IIs_WebFileSetting Ref Setting;
  1675. };
  1676. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1677. class IIs_WebFile_IPSecuritySetting : CIM_ElementSetting
  1678. {
  1679. [key,Override("Element"),Locale(1033)] IIs_WebFile Ref Element;
  1680. [key,Override("Setting"),Locale(1033)] IIs_IPSecuritySetting Ref Setting;
  1681. };
  1682. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  1683. class IIs_WebFile_AdminACL : CIM_Component
  1684. {
  1685. [key,Override("GroupComponent") : ToSubclass,Locale(1033)] IIs_WebFile Ref GroupComponent;
  1686. [key,Override("PartComponent") : ToSubclass,Locale(1033)] IIs_AdminACL Ref PartComponent;
  1687. };