SMS_CategoryInstance Server WMI Class

System Center

Updated: October 28, 2009

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The SMS_CategoryInstance Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a category instance used to replicate information about a category, for example, a product or a classification, to all child sites. This class is used in desired configuration management monitoring.


Class SMS_CategoryInstance : SMS_CategoryInstanceBase
{
      String CategoryInstance_UniqueID;
      UInt32 CategoryInstanceID;
      String CategoryTypeName;
      String LocalizedCategoryInstanceName;
      SMS_Category_LocalizedProperties LocalizedInformation[];
      UInt32 LocalizedPropertyLocaleID;
      UInt32 ParentCategoryInstanceID;
      String SourceSite;
};

The following table lists the methods in the SMS_CategoryInstance class.

 

Method Description

ResendObjectToAllSites Method in Class SMS_CategoryInstance

Replicates object information for a particular category instance to all sites.

CategoryInstance_UniqueID
Data type: String

Access type: Read/Write

Qualifiers: [unique, SizeLimit("512")

See SMS_CategoryInstanceBase Server WMI Class.

CategoryInstanceID
Data type: UInt32

Access type: Read-only

Qualifiers: [key, read]

See SMS_CategoryInstanceBase Server WMI Class.

CategoryTypeName
Data type: String

Access type: Read/Write

Qualifiers: None

See SMS_CategoryInstanceBase Server WMI Class.

LocalizedCategoryInstanceName
Data type: String

Access type: Read-only

Qualifiers: [read]

See SMS_CategoryInstanceBase Server WMI Class.

LocalizedInformation
Data type: SMS_Category_LocalizedProperties Array

Access type: Read/Write

Qualifiers: [lazy]

See SMS_CategoryInstanceBase Server WMI Class.

LocalizedPropertyLocaleID
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

See SMS_CategoryInstanceBase Server WMI Class..

ParentCategoryInstanceID
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

See SMS_CategoryInstanceBase Server WMI Class.

SourceSite
Data type: String

Access type: Read-only

Qualifiers: [read]

See SMS_CategoryInstanceBase Server WMI Class.

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.

To use this class, the application creates an SMS_CategoryInstance object and sets the properties, as required, for the particular baseline configuration item. When the application is ready for metadata synchronization among the parent site and the child sites, the application can call ResendObjectToAllSites Method in Class SMS_CategoryInstance.

Runtime Requirements

Development Requirements

Show: