The SMS_PDF_Program Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a package definition file (PDF) template from which to create an initialized program.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_PDF_Program : SMS_BaseClass
{
	String CommandLine;
	String Comment;
	String DependentProgram;
	String Description;
	String DiskSpaceReq;
	String DriveLetter;
	UInt32 Duration;
	UInt8 Icon[];
	UInt32 IconSize;
	UInt32 PDFID;
	UInt32 ProgramFlags;
	String ProgramName;
	String Publisher;
	String Requirements;
	String WorkingDirectory;
};

Methods

The SMS_PDF_Program class does not define any methods.

Properties

CommandLine

Data type: StringAccess type: Read/WriteQualifiers: NoneCommand that executes when the program is launched.
Comment

Data type: StringAccess type: Read/WriteQualifiers: NoneDescription of the program displayed in the Configuration Manager console.
DependentProgram

Data type: StringAccess type: Read/WriteQualifiers: NoneA formatted text string defining any program that should be run prior to executing the current program. The format is defined as: <PackageID>;; <ProgramName>. The default value is "".
Description

Data type: StringAccess type: Read/WriteQualifiers: NoneDescription of the program (not displayed in the Configuration Manager console).
DiskSpaceReq

Data type: StringAccess type: Read/WriteQualifiers: NoneApproximate disk space that the program requires.
DriveLetter

Data type: StringAccess type: Read/WriteQualifiers: [SizeLimit("1"), Range("a-z")]Drive letter (one character in the range from a to z) that the program maps to and runs from. The default value is "".
Duration

Data type: UInt32Access type: Read/WriteQualifiers: NoneApproximate duration, in minutes, that the program takes to execute.
Icon

Data type: UInt8 ArrayAccess type: Read/WriteQualifiers: [lazy, large]Icon to associate with the program in the Configuration Manager console.
IconSize

Data type: UInt32Access type: Read/WriteQualifiers: [lazy]Size, in bytes, of the icon. The default value is 0.
PDFID

Data type: UInt32Access type: Read/WriteQualifiers: [key]ID of the SMS_PDF_Package Server WMI Class object to which the program belongs.
ProgramFlags

Data type: UInt32Access type: Read/WriteQualifiers: NoneFlags defining the installation characteristics of the program. See the ProgramFlags property of SMS_Program Server WMI Class.
ProgramName

Data type: StringAccess type: Read/WriteQualifiers: [key]Name that uniquely identifies the program.
Publisher

Data type: StringAccess type: Read/WriteQualifiers: NoneManufacturer of the program.
Requirements

Data type: StringAccess type: Read/WriteQualifiers: NoneDescription of any additional requirements of the program. The default value is "".
WorkingDirectory

Data type: StringAccess type: Read/WriteQualifiers: NoneThe location from which the program executes. This can be an absolute path on the client or a path relative to the distribution point folder that contains the package. The default value is "".

Remarks

Class qualifiers for this class include:

  • Read (read-only)

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Your application cannot delete individual programs from the package definition file store. To delete a program, the application must delete the package template and then reload the package template without the program.

Requirements

Runtime Requirements

Development Requirements

See Also