The SMS_G_SYSTEM_AmPolicyStatus Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents …. 

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

Class SMS_G_SYSTEM_AmPolicyStatus : SMS_G_System
{
	String AssignmentUniqueID;
	String CollectionName;
	String Error;
	UInt32 ErrorCode;
	UInt32 ID;
	DateTime LastUpdateTime;
	String Name;
	UInt32 PolicyType;
	UInt32 Priority;
	UInt32 ResourceID;
	UInt32 State;
	String UniqueID;
};

Methods

The SMS_G_SYSTEM_AmPolicyStatus class does not define any methods.

Properties

AssignmentUniqueID

Data type: StringAccess type: Read/Write Qualifiers: [key]Unique identifier for customized policy. For default policy, the value is always ‘AntimalwareEx Agent’.
CollectionName

Data type: StringAccess type: Read/Write Qualifiers: noneName of the collection. NULL for default policy as it's not targeted to any collection (but the whole site).
Error

Data type: StringAccess type: Read/Write Qualifiers: noneThe description of error when applying the policy on this computer.
ErrorCode

Data type: UInt32Access type: Read/Write Qualifiers: noneThe error code when applying the policy on this computer.
ID

Data type: UInt32Access type: Read/Write Qualifiers: nonePolicy identifier. 0 for the default policy.
LastUpdateTime

Data type: DateTimeAccess type: Read/Write Qualifiers: noneLast message update time.
Name

Data type: StringAccess type: Read/Write Qualifiers: nonePolicy name.
PolicyType

Data type: UInt32Access type: Read/Write Qualifiers: nonePolicy type. Possible values are:

1

Default AM Policy

2

Customized AM Policy

Priority

Data type: UInt32Access type: Read/Write Qualifiers: nonePolicy priority. 10000 for the default policy as it’s always the lowest priority.
ResourceID

Data type: UInt32Access type: Read/Write Qualifiers: [key]Client resource identifier.
State

Data type: UInt32Access type: Read/Write Qualifiers: noneThe state of this policy on this computer.

1

Success

2

Failure

UniqueID

Data type: StringAccess type: Read/Write Qualifiers: noneUnique identifier for the policy.

Remarks

Requirements

Runtime Requirements

Development Requirements