SMS_UpdateCategoryInstance Server WMI Class

 

Updated: November 1, 2013

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

The SMS_UpdateCategoryInstance Windows Management Instrumentation (WMI) class is an SMS Provider server class, in System Center 2012 R2 Configuration Manager, that represents a software-update-specific SMS_CategoryInstance Server WMI Class object available on the site.

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

Class SMS_UpdateCategoryInstance : SMS_CategoryInstanceBase
{
      Boolean AllowSubscription;
      String CategoryInstance_UniqueID;
      UInt32 CategoryInstanceID;
      String CategoryTypeName;
      Boolean IsSubscribed;
      String LocalizedCategoryInstanceName;
      SMS_Category_LocalizedProperties LocalizedInformation[];
      UInt32 LocalizedPropertyLocaleID;
      UInt32 ParentCategoryInstanceID;
      String SourceSite;
};

The SMS_UpdateCategoryInstance class does not define any methods.

System_CAPS_warningWarning

The ResendObjectToAllSites Method in Class SMS_UpdateCategoryInstance has been deprecated in System Center 2012 R2 Configuration Manager.

AllowSubscription

Data type: Boolean

Access type: Read-only

Qualifiers: [read]

true if the category instance is enabled for subscription to the category metadata from the software update source. The default value is false. For more information, see SMS_SoftwareUpdateSource Server WMI Class.

System_CAPS_noteNote

Not all categories can be marked for subscription.

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.

IsSubscribed

Data type: Boolean

Access type: Read/Write

Qualifiers: [read]

true if the category instance allows subscription. The default value is false. Set this property to true only if the AllowSubscription property is set to true.

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

  • Read (read-only)

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 the SMS_UpdateCategoryInstance class after creating or modifying a software update deployment using SMS_UpdatesAssignment Server WMI Class. The application can use SMS_CIAllCategories Server WMI Class to query for all categories associated with the software updates configuration item or for all configuration items associated with a category.

To use this class, the application obtains an SMS_SoftwareUpdateSource object and sets the properties as required for the particular software update and the source.

Show: