Share via


ProcessInBox Method in Class SMS_PDF_Package

The ProcessInBox WMI class method imports PDF files from the PDF inbox.

The following syntax is simplified from MOF code and is intended to show you the definition of the method.

sint32 ProcessInBox( );

Parameters

This class method has no parameters.

Return Values

The ProcessInBox method returns a sint32 that is the number of PDFs successfully loaded.

Remarks

The ProcessInBox method processes all .pdf and .sms files found in the \Smsinstalldir\Scripts\<localeid>\Pdfstore\Load inbox. Successfully processed files are then removed and placed in the PDF Store. Files that fail to load, however, remain in the load directory. Besides its use by an application, SMS uses this method at startup to load PDF templates if the SMS tables are empty. Icons defined in the PDF file for the package or programs must exist in the load directory at the time the method is called.

When you import a PDF that has the same Name, Publisher, Version, and Language properties as that of an existing PDF, the existing PDF is overwritten. This includes the existing PDF icons, programs, and PDF file. The PDFID value is retained.

See Also

SMS_PDF_Package, SMS_PDF_Package::LoadPDF, Software Distribution Classes