SMS_PDF_Package
The SMS_PDF_Package WMI class represents a template from which a package can be created. The package is initialized with the data from the package definition file (PDF). The SMS_PDF_Package class contains methods used to store the PDF template in the PDF Store and produce objects of type SMS_Package and SMS_Program from a template.
The following syntax is simplified from MOF code and includes all inherited properties.
Class SMS_PDF_Package : SMS_BaseClass
{
uint8 Icon[];
uint32 IconSize;
string Language;
string Name;
string PDFFileName;
uint32 PDFID;
string Publisher;
string RequiredIconNames[];
uint32 Status;
string Version;
};
Properties
Icon
Data type: uint8[]
Access type: Read-only
Qualifiers: LazyIcon to associate with the package. The icon is displayed in the console.
IconSize
Data type: uint32
Access type: Read-only
Qualifiers: LazySize of the icon (bytes).
Language
Data type: string
Access type: Read-onlyLanguage for the package, such as English.
Name
Data type: string
Access type: Read-onlyName of the package.
PDFFileName
Data type: string
Access type: Read-onlyFilename of the PDF. The filename does not include the .sms extension.
PDFID
Data type: uint32
Access type: Read-only
Qualifiers: KeyUnique, auto-generated identifier for the PDF.
Publisher
Data type: string
Access type: Read-onlyManufacturer of the package.
RequiredIconNames
Data type: string[]
Access type: Read-only
Qualifiers: LazyIcons that are required to be loaded.
Status
Data type: uint32
Access type: Read-only
Qualifiers: LazyLoad status of the PDF.
Value Description 0 Loaded 1 Requires icon Version
Data type: string
Access type: Read-onlyVersion number of the package.
Methods
The following table lists the methods for SMS_PDF_Package.
Method | Description |
---|---|
GetPDFData | Produces objects of type SMS_Package and SMS_Program for a loaded PDF. |
LoadIconForPDF | Imports a required icon for a PDF. |
LoadPDF | Imports a PDF into the store. |
ProcessInBox | Imports PDF files from the PDF inbox. |
See Also
Creating a Package and Programs Using a PDF Template, Package Definition Files, SMS_Package, SMS_PDF_Program, SMS_Program, Software Distribution Classes