The SMS_ConfigurationPolicyBase Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the base class for configuration policy.

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

Class SMS_ConfigurationPolicyBase : SMS_ConfigurationItemBaseClass
{
	UInt32 ActivatedCount;
	String ApplicabilityCondition;
	UInt32 AssignedCount;
	String CategoryInstance_UniqueIDs[];
	UInt32 CI_ID;
	String CI_UniqueID;
	UInt32 CIType_ID;
	UInt32 CIVersion;
	UInt32 ComplianceCount;
	Real64 CompliantPercentage;
	String CreatedBy;
	DateTime DateCreated;
	DateTime DateLastModified;
	DateTime EffectiveDate;
	UInt32 EULAAccepted;
	Boolean EULAExists;
	DateTime EULASignoffDate;
	String EULASignoffUser;
	UInt32 ExecutionContext;
	UInt32 FailureCount;
	Boolean IsAssigned;
	Boolean IsBroken;
	Boolean IsBundle;
	Boolean IsDigest;
	Boolean IsEnabled;
	Boolean IsExpired;
	Boolean IsHidden;
	Boolean IsLatest;
	Boolean IsQuarantined;
	Boolean IsSuperseded;
	Boolean IsUserDefined;
	String LastModifiedBy;
	String LocalizedCategoryInstanceNames[];
	String LocalizedDescription;
	String LocalizedDisplayName;
	SMS_CI_LocalizedEulas LocalizedEulas[];
	SMS_CI_LocalizedProperties LocalizedInformation[];
	String LocalizedInformativeURL;
	UInt32 LocalizedPropertyLocaleID;
	UInt32 ModelID;
	String ModelName;
	UInt32 NonComplianceCount;
	UInt32 PermittedUses;
	String PlatformCategoryInstance_UniqueIDs[];
	UInt32 PlatformType;
	UInt32 Precedence;
	SMS_SDMPackageLocalizedData SDMPackageLocalizedData[];
	UInt32 SDMPackageVersion;
	String SDMPackageXML;
	String SecuredScopeNames[];
	String SedoObjectVersion;
	UInt32 Severity;
	String SourceSite;
};

Methods

The following table lists the methods in the SMS_ConfigurationPolicyBase class.

Method Description

AcceptEULA Method in Class SMS_ConfigurationPolicyBase

Accepts or declines the Microsoft Software License Terms of a configuration item.

GetEULA Method in Class SMS_ConfigurationPolicyBase

Gets the localized Microsoft Software License Terms content, if a configuration item is present.

Properties

ActivatedCount

Data type: UInt32Access type: Read-only Qualifiers: [not_null, read]The number of computers that have evaluated the configuration policy item.
ApplicabilityCondition

Data type: StringAccess type: Read/Write Qualifiers: [not_null, sizelimit]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
AssignedCount

Data type: UInt32Access type: Read-only Qualifiers: [not_null, read]The number of computers or users that have been assigned this configuration policy item.
CategoryInstance_UniqueIDs

Data type: String Array Access type: Read/Write Qualifiers: noneSee SMS_ConfigurationItemLatestBaseClass Server WMI Class.
CI_ID

Data type: UInt32Access type: Read/Write Qualifiers: [key, key]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
CI_UniqueID

Data type: StringAccess type: Read/Write Qualifiers: [not_null, unique]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
CIType_ID

Data type: UInt32Access type: Read-only Qualifiers: [enumeration, not_null, read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
CIVersion

Data type: UInt32Access type: Read-only Qualifiers: [not_null, read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
ComplianceCount

Data type: UInt32Access type: Read-only Qualifiers: [not_null, read]Number of computers that are compliant with the configuration item.
CompliantPercentage

Data type: Real64Access type: Read-only Qualifiers: [not_null, read]The property is deprecated.
CreatedBy

Data type: StringAccess type: Read-only Qualifiers: [not_null, read, sizelimit]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
DateCreated

Data type: DateTimeAccess type: Read-only Qualifiers: [not_null, read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
DateLastModified

Data type: DateTimeAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
EffectiveDate

Data type: DateTimeAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
EULAAccepted

Data type: UInt32Access type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
EULAExists

Data type: BooleanAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
EULASignoffDate

Data type: DateTimeAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
EULASignoffUser

Data type: StringAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
ExecutionContext

Data type: UInt32Access type: Read-only Qualifiers: [read, valuemap, values]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
FailureCount

Data type: UInt32Access type: Read-only Qualifiers: [not_null, read]Represents the number of targets that reported an error during configuration policy evaluation.
IsAssigned

Data type: BooleanAccess type: Read-only Qualifiers: [not_null, read]true if this is an assigned policy.
IsBroken

Data type: BooleanAccess type: Read-only Qualifiers: [not_null, read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
IsBundle

Data type: BooleanAccess type: Read/Write Qualifiers: [not_null]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
IsDigest

Data type: BooleanAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
IsEnabled

Data type: BooleanAccess type: Read/Write Qualifiers: [not_null]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
IsExpired

Data type: BooleanAccess type: Read/Write Qualifiers: [not_null]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
IsHidden

Data type: BooleanAccess type: Read/Write Qualifiers: [not_null]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
IsLatest

Data type: BooleanAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
IsQuarantined

Data type: BooleanAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
IsSuperseded

Data type: BooleanAccess type: Read-only Qualifiers: [not_null, read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
IsUserDefined

Data type: BooleanAccess type: Read/Write Qualifiers: [not_null]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
LastModifiedBy

Data type: StringAccess type: Read-only Qualifiers: [not_null, read, sizelimit]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
LocalizedCategoryInstanceNames

Data type: String Array Access type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
LocalizedDescription

Data type: StringAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
LocalizedDisplayName

Data type: StringAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
LocalizedEulas

Data type: SMS_CI_LocalizedEulas Array Access type: Read/Write Qualifiers: [lazy]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
LocalizedInformation

Data type: SMS_CI_LocalizedProperties Array Access type: Read/Write Qualifiers: [lazy]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
LocalizedInformativeURL

Data type: StringAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
LocalizedPropertyLocaleID

Data type: UInt32Access type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
ModelID

Data type: UInt32Access type: Read/Write Qualifiers: [not_null]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
ModelName

Data type: StringAccess type: Read/Write Qualifiers: [not_null]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
NonComplianceCount

Data type: UInt32Access type: Read-only Qualifiers: [not_null, read]Number of computers that are not compliant with the configuration item.
PermittedUses

Data type: UInt32Access type: Read/Write Qualifiers: [not_null]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
PlatformCategoryInstance_UniqueIDs

Data type: String Array Access type: Read/Write Qualifiers: noneSee SMS_ConfigurationItemLatestBaseClass Server WMI Class.
PlatformType

Data type: UInt32Access type: Read-only Qualifiers: [bitmap, bitvalues, read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
Precedence

Data type: UInt32Access type: Read/Write Qualifiers: nonePrecedence represents a resolution order to resolve conflicting rules detected by the rules engine on the client. Currently this is only applicable to EP Firewall configuration policies.
SDMPackageLocalizedData

Data type: SMS_SDMPackageLocalizedData Array Access type: Read/Write Qualifiers: [lazy]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
SDMPackageVersion

Data type: UInt32Access type: Read/Write Qualifiers: [not_null]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
SDMPackageXML

Data type: StringAccess type: Read/Write Qualifiers: [lazy]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
SecuredScopeNames

Data type: String Array Access type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
SedoObjectVersion

Data type: StringAccess type: Read-only Qualifiers: [read]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.
Severity

Data type: UInt32Access type: Read-only Qualifiers: [not_null, read]The non-compliance severity of the configuration item.
SourceSite

Data type: StringAccess type: Read/Write Qualifiers: [sizelimit]See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

Remarks

Requirements

Runtime Requirements

Development Requirements