The SMS_ObjectContainerItem Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that contains information about a Configuration Manager console folder item.

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

Class SMS_ObjectContainerItem : SMS_BaseClass
{
	UInt32 ContainerNodeID;
	String InstanceKey;
	String MemberGuid;
	UInt32 MemberID;
	UInt32 ObjectType;
	String ObjectTypeName;
	String SourceSite;
};

Methods

The following table lists the methods in the SMS_ObjectContainerItem class.

Method Description

MoveMembers Method in Class SMS_ObjectContainerItem

Moves one or more folder items to another folder.

MoveMembersEx Method in Class SMS_ObjectContainerItem

Moves one or more folder items to another folder.

Properties

ContainerNodeID

Data type: UInt32Access type: Read/Write Qualifiers: [Not_null]The unique id of the folder.
InstanceKey

Data type: StringAccess type: Read/Write Qualifiers: [Not_null]The name of the folder.
MemberGuid

Data type: StringAccess type: Read-only Qualifiers: [not_null, read]The guid of the relation.
MemberID

Data type: UInt32Access type: Read/Write Qualifiers: [key, Not_null]The unique id of the relation.
ObjectType

Data type: UInt32Access type: Read-only Qualifiers: [deprecated, enumeration, read]The type of the folder. Possible values are listed below.

2

TYPE_PACKAGE

3

TYPE_ADVERTISEMENT

7

TYPE_QUERY

8

TYPE_REPORT

9

TYPE_METEREDPRODUCTRULE

11

TYPE_CONFIGURATIONITEM

14

TYPE_OSINSTALLPACKAGE

17

TYPE_STATEMIGRATION

18

TYPE_IMAGEPACKAGE

19

TYPE_BOOTIMAGEPACKAGE

20

TYPE_TASKSEQUENCEPACKAGE

21

TYPE_DEVICESETTINGPACKAGE

23

TYPE_DRIVERPACKAGE

25

TYPE_DRIVER

1011

TYPE_SOFTWAREUPDATE

2011

TYPE_CONFIGURATIONBASELINE

ObjectTypeName

Data type: StringAccess type: Read/Write Qualifiers: NoneThe WMI Class Name of the object. Example SMS_Package. This will take effect if the ObjectType is 0 or null.
SourceSite

Data type: StringAccess type: Read-only Qualifiers: [not_null, read]The sitecode of the site that the relation was originally created from.

Remarks

Requirements

Runtime Requirements

Development Requirements