Muokkaa

Jaa


SMS_ConfigurationItem Server WMI Class

The SMS_ConfigurationItem Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a configuration item.

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

Syntax

Class SMS_ConfigurationItem : SMS_ConfigurationItemBaseClass  
{  
      String ApplicabilityCondition;  
      String CategoryInstance_UniqueIDs;[]  
      UInt32 CI_ID;  
      String CI_UniqueID;  
      UInt32 CIType_ID;  
      UInt32 CIVersion;  
      UInt64 ConfigurationFlags;  
      String CreatedBy;  
      DateTime DateCreated;  
      DateTime DateLastModified;  
      DateTime EffectiveDate;  
      UInt32 EULAAccepted;  
      Boolean EULAExists;  
      DateTime EULASignoffDate;  
      String EULASignoffUser;  
      UInt32 ExecutionContext;  
      Boolean InUse;  
      Boolean IsBroken;  
      Boolean IsBundle;  
      Boolean IsChild;   
      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 PermittedUses;  
      String PlatformCategoryInstance_UniqueIDs[];  
      UInt32 PlatformType;  
      SMS_SDMPackageLocalizedData SDMPackageLocalizedData[];  
      UInt32 SDMPackageVersion;  
      String SDMPackageXML;  
      String SecuredScopeNames[];  
      String SedoObjectVersion;  
      String SourceSite;  
};  

Methods

The following table lists the methods in the SMS_ConfigurationItem class.

Method Description
AcceptEULA Method in Class SMS_ConfigurationItem Accepts or declines the Microsoft Software License Terms of a configuration item.
GetEULA Method in Class SMS_ConfigurationItem Gets the localized Microsoft Software License Terms content of the configuration item.
GetSDMDefinition Method in Class SMS_ConfigurationItem Retrieves the System Definition Model (SDM) definition of the configuration item in XML format.
SetEnforcement Method in Class SMS_ConfigurationItem Sets the enforcement and the enforcement date for a configuration item.

Properties

ApplicabilityCondition
Data type: String

Access type: Read/Write

Qualifiers: [SizeLimit("512"), not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CategoryInstance_UniqueIDs
Data type: String Array

Access type: Read/Write

Qualifiers: None

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CI_ID
Data type: UInt32

Access type: Read-only

Qualifiers: [key]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CI_UniqueID
Data type: String

Access type: Read-only

Qualifiers:[unique, not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CIType_ID
Data type: UInt32

Access type: Read-only

Qualifiers: [not_null, read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

For this class, the type ID is OtherConfigurationItem (7).

CIVersion
Data type: UInt32

Access type: Read-only

Qualifiers: [read, not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

ConfigurationFlags
Data type: UInt64

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CreatedBy
Data type: String

Access type: Read-only

Qualifiers: [SizeLimit("512"), read, not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

DateCreated
Data type: DateTime

Access type: Read-only

Qualifiers: [read, not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

DateLastModified
Data type: DateTime

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EffectiveDate
Data type: DateTime

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EULAAccepted
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EULAExists
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EULASignoffDate
Data type: DateTime

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EULASignoffUser
Data type: String

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

ExecutionContext
Data type: UInt32

Access type: Read-only

Qualifiers: [read, valuemap, values]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

InUse
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

SMS_ConfigurationBaselineInfo Server WMI Class

IsBroken
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

true if the configuration item is broken.

IsBundle
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsChild
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

true if this configuration item is a child of other configuration item.

IsDigest
Data type: Boolean

Access type: Read-only

Qualifiers: [read, lazy]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsEnabled
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsExpired
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsHidden
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsLatest
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsQuarantined
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsSuperseded
Data type: Boolean

Access type: Read-only

Qualifiers: [read, not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsUserDefined
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LastModifiedBy
Data type: String

Access type: Read-only

Qualifiers: [SizeLimit("512"), read, not_null]

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: String

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LocalizedEulas
Data type: SMS_CI_LocalizedEulas Array

Access type: Read/Write

Qualifiers: [lazy]

An array of localized Microsoft Software License Terms for the configuration item.

LocalizedDisplayName
Data type: String

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LocalizedInformation
Data type: SMS_CI_LocalizedProperties Array

Access type: Read/Write

Qualifiers: [lazy]

A list of language-specific localized information about the configuration item:

Remarks

Class qualifiers for this class include:

  • Secured

    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 uses this class by creating an object and getting and setting the properties as required for the particular configuration.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Configuration Manager Compliance Settings (DCM) Server WMI Classes