SMS_ConfigurationPolicy Server WMI Class
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The SMS_ConfigurationPolicy Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the desired values of settings declared in a subclass of SMS_SettingsDefinitionBase. For instance, SMS_FirewallSettings is a subclass of SMS_SettingsDefinitionBase which declares possible settings for Windows Firewall. One such setting is "Block incoming connections on public networks." SMS_ConfigurationPolicy could be used to set a policy on that setting, such as "The setting 'Block incoming connections on public networks' should be enabled."
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Syntax
Class SMS_ConfigurationPolicy : SMS_ConfigurationPolicyBase
{
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_ConfigurationPolicy class.
Method |
Description |
---|---|
... |
|
... |
Properties
ActivatedCount
Data type: UInt32Access type: Read-only
Qualifiers: [not_null, read]
ApplicabilityCondition
Data type: StringAccess type: Read/Write
Qualifiers: [not_null, sizelimit]
AssignedCount
Data type: UInt32Access type: Read-only
Qualifiers: [not_null, read]
CategoryInstance_UniqueIDs
Data type: String ArrayAccess type: Read/Write
Qualifiers: none
CI_ID
Data type: UInt32Access type: Read/Write
Qualifiers: [key, key]
CI_UniqueID
Data type: StringAccess type: Read/Write
Qualifiers: [not_null, unique]
CIType_ID
Data type: UInt32Access type: Read-only
Qualifiers: [enumeration, not_null, read]
CIVersion
Data type: UInt32Access type: Read-only
Qualifiers: [not_null, read]
ComplianceCount
Data type: UInt32Access type: Read-only
Qualifiers: [not_null, read]
CompliantPercentage
Data type: Real64Access type: Read-only
Qualifiers: [not_null, read]
The property is deprecated. Use the information contained in the SMS_DeploymentSummary Server WMI Class instead.
CreatedBy
Data type: StringAccess type: Read-only
Qualifiers: [not_null, read, sizelimit]
DateCreated
Data type: DateTimeAccess type: Read-only
Qualifiers: [not_null, read]
DateLastModified
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
EffectiveDate
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
EULAAccepted
Data type: UInt32Access type: Read-only
Qualifiers: [read]
EULAExists
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
EULASignoffDate
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
EULASignoffUser
Data type: StringAccess type: Read-only
Qualifiers: [read]
ExecutionContext
Data type: UInt32Access type: Read-only
Qualifiers: [read, valuemap, values]
FailureCount
Data type: UInt32Access type: Read-only
Qualifiers: [not_null, read]
IsAssigned
Data type: BooleanAccess type: Read-only
Qualifiers: [not_null, read]
IsBroken
Data type: BooleanAccess type: Read-only
Qualifiers: [not_null, read]
IsBundle
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
IsDigest
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
IsEnabled
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
IsExpired
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
IsHidden
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
IsLatest
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
IsQuarantined
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
IsSuperseded
Data type: BooleanAccess type: Read-only
Qualifiers: [not_null, read]
IsUserDefined
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
LastModifiedBy
Data type: StringAccess type: Read-only
Qualifiers: [not_null, read, sizelimit]
LocalizedCategoryInstanceNames
Data type: String ArrayAccess type: Read-only
Qualifiers: [read]
LocalizedDescription
Data type: StringAccess type: Read-only
Qualifiers: [read]
LocalizedDisplayName
Data type: StringAccess type: Read-only
Qualifiers: [read]
LocalizedEulas
Data type: SMS_CI_LocalizedEulas ArrayAccess type: Read/Write
Qualifiers: [lazy]
LocalizedInformation
Data type: SMS_CI_LocalizedProperties ArrayAccess type: Read/Write
Qualifiers: [lazy]
LocalizedInformativeURL
Data type: StringAccess type: Read-only
Qualifiers: [read]
LocalizedPropertyLocaleID
Data type: UInt32Access type: Read-only
Qualifiers: [read]
ModelID
Data type: UInt32Access type: Read/Write
Qualifiers: [not_null]
ModelName
Data type: StringAccess type: Read/Write
Qualifiers: [not_null]
NonComplianceCount
Data type: UInt32Access type: Read-only
Qualifiers: [not_null, read]
PermittedUses
Data type: UInt32Access type: Read/Write
Qualifiers: [not_null]
PlatformCategoryInstance_UniqueIDs
Data type: String ArrayAccess type: Read/Write
Qualifiers: none
PlatformType
Data type: UInt32Access type: Read-only
Qualifiers: [bitmap, bitvalues, read]
Precedence
Data type: UInt32Access type: Read/Write
Qualifiers: none
SDMPackageLocalizedData
Data type: SMS_SDMPackageLocalizedData ArrayAccess type: Read/Write
Qualifiers: [lazy]
SDMPackageVersion
Data type: UInt32Access type: Read/Write
Qualifiers: [not_null]
SDMPackageXML
Data type: StringAccess type: Read/Write
Qualifiers: [lazy]
SecuredScopeNames
Data type: String ArrayAccess type: Read-only
Qualifiers: [read]
SedoObjectVersion
Data type: StringAccess type: Read-only
Qualifiers: [read]
Severity
Data type: UInt32Access type: Read-only
Qualifiers: [not_null, read]
SourceSite
Data type: StringAccess type: Read/Write
Qualifiers: [sizelimit]
Remarks
To create or modify an instance of SMS_ConfigurationPolicy, the user must have the Author Policy right on each referenced instance of SMS_SettingsDefinitionBase. For instance, a user who has the Author Policy right on SMS_FirewallSettings but not SMS_UserStateManagementSettings can create SMS_ConfigurationPolicy which sets policy on firewall settings, but will get an error trying to set policy on User State Management settings.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.