The SMS_PackageStatus Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that provides a summary report of the health of packages and distribution points in the site.

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

Class SMS_PackageStatus : SMS_BaseClass
{
	String Location;
	String PackageID;
	SInt32 Personality;
	String PkgServer;
	String ShareName;
	String SiteCode;
	SInt32 Status;
	SInt32 Type;
	DateTime UpdateTime;
};

Methods

The SMS_PackageStatus class does not define any methods.

Properties

Location


Data type: StringAccess type: Read/WriteQualifiers: NoneThe Universal Naming Convention (UNC) path or network abstraction layer (NAL) path to where the package is stored or distributed.
PackageID


Data type: StringAccess type: Read/WriteQualifiers: [key]The unique local ID for the package.
Personality


Data type: SInt32Access type: Read/WriteQualifiers: [key, enumeration]Status personality. Possible values are:

0

NONE

1

MAC

2

FPNW

PkgServer


Data type: StringAccess type: Read/WriteQualifiers: [key]If Type is MASTER (1), the compressed copy of the package on the site server. If Type is COPY (2), PkgServer is the distribution point.
ShareName


Data type: StringAccess type: Read/WriteQualifiers: NoneThe share to which the package was distributed.
SiteCode


Data type: StringAccess type: Read/WriteQualifiers: [key]The site code for the site.
Status


Data type: SInt32Access type: Read/WriteQualifiers: [key, enumeration]Status. Possible values are:

0

NONE

1

SENT

2

RECEIVED

3

INSTALLED

4

RETRY

5

FAILED

6

REMOVED

7

PENDING_REMOVE

Type


Data type: SInt32Access type: Read/WriteQualifiers: [key, enumeration]The status type. Possible values are:

1

MASTER

2

COPY

UpdateTime


Data type: DateTimeAccess type: Read/WriteQualifiers: NoneWhen Type is MASTER (1), the time when the compressed copy was created or merged. When Type is COPY (2), UpdateTime is the time when the distribution point was updated.

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.

This class is used internally by the server Distribution Manager component and is not used directly to produce any of the package status information that you see in the Configuration Manager console.

You can distribute multiple packages concurrently to multiple destinations. SMS_PackageStatus allows monitoring when packages arrive at distribution points. All the displayed dates are based on the time zone in which the Configuration Manager console is running.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.