ProcessInBox Method in Class SMS_PDF_Package

 

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

The ProcessInBox Windows Management Instrumentation (WMI) class method, in Configuration Manager, imports package definition files from the package definition file inbox.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

Syntax

SInt32 ProcessInBox();

Parameters

None.

Return Values

An SInt32 data type that is the number of package definition files successfully loaded.

Remarks

This 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 package definition file store. Files that fail to load, however, remain in the load directory.

Configuration Manager uses this method at startup to load package definition file templates if the Configuration Manager tables are empty. Icons defined in the package definition file for the package or programs must exist in the load directory at the time the method is called.

When your application imports a package definition file that has the same Name, Publisher, Version, and Language properties as an existing package definition file, the existing package definition file is overwritten, including file icons and programs. The value specified by the PDFID parameter is retained.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

SMS_PDF_Package Server WMI Class