Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
The SMS_VirtualApp Windows Management Instrumentation (WMI) class in Configuration Manager stores all information about imported virtual applications. Each instance of SMS_VirtualApp must refer to an instance of the SMS_Package class through the PackageID property. All other property values for this class can be found in the virtual application content, specifically in the .OSD files.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_VirtualApp : SMS_BaseClass 
{ 
      string GUID; 
      uint8 Icon[]; 
      uint32 IconSize; 
      string Name; 
      string PackageID; 
      uint32 Size; 
      string Version; 
      uint32 VirtualAppID; 
};
Methods
The SMS_VirtualApp class does not define any methods.
Properties
- GUID 
 Data type: String- Access type: Read/Write - Qualifiers: None - GUID string value that uniquely identifies the virtual application. In the .OSD file, this value is the attribute GUID of the SOFTPKG element. 
- Icon[] 
 Data type: UInt8- Access type: Read/Write - Qualifiers: large - Binary information for the icon that is displayed in the Configuration Manager console with the virtual package. In the .OSD file, the path to the icon file is specified in the ICON attribute of the first SHORTCUT element. 
- IconSize 
 Data type: UInt32- Access type: Read-only - Qualifiers: lazy - Size of the Icon[] property array. When this field is set to 0, the icon will be cleared. - The default value is: 0 
- Name 
 Data type: String- Access type: Read/Write - Qualifiers: None - Name of the virtual application. In the .OSD file, this value is the attribute NAME of the SOFTPKG element. 
- PackageID 
 Data type: String- Access type: Read/Write - Qualifiers: None - The PackageID property value from the SMS_Package record instance that the virtual application belongs to. 
- Size 
 Data type: UInt32- Access type: Read/Write - Qualifiers: None - Reserved for future use. 
- Version 
 Data type: String- Access type: Read/Write - Qualifiers: None - Version of the virtual application. In the .OSD file, this value is the attribute VERSION of the SOFTPKG element. 
- VirtualAppID 
 Data type: UInt32- Access type: Read-only - Qualifiers: key - Unique identifier of this SMS_VirtualApp class instance. 
Remarks
Class qualifiers for this class include:
- DisplayName("Virtual Application(s)") 
- Dynamic 
- Provider("ExtnProv") 
- Secured 
For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.