The SMS_ObjectContainerNode WMI class is an SMS Provider server class, in System Center 2012 Configuration Manager, that contains information for a given Configuration Manager console folder.

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

Class SMS_ObjectContainerNode : SMS_BaseClass
{
   UInt32 ContainerNodeID;
   UInt32 FolderFlags;
   String FolderGuid; 
   Boolean IsEmpty
   String Name;
   UInt32 ObjectType;
   UInt32 ParentContainerNodeID;
   Boolean SearchFolder;
   String SearchString;
   String SourceSite;
};

Methods

The following table shows the methods in SMS_ ObjectContainerNode.

Method Description

MoveFolders Method in Class SMS_ObjectContainerNode

Moves one or more folders to another folder location.

Properties

ContainerNodeID

Data type: UInt32Access type: Read/WriteQualifiers: [key]The unique ID of the current folder. This value is automatically generated by the SMS Provider when the class instance is created.
FolderFlags

Data type: UInt32Access type: Read/WriteQualifiers: NoneFlags that apply to the console folder if it is searchable, that is, if SearchFolder is set to TRUE. The default value of FolderFlags is 0.
FolderGuid

Data type: StringAccess type: Read-onlyQualifiers: [read, not_null]The GUID of the folder.
IsEmpty

Data type: BooleanAccess type: Read-onlyQualifiers: [read, not_null]TRUE if the folder is empty; otherwise FALSE.
Name

Data type: StringAccess type: Read/WriteQualifiers: NoneThe name of the console folder. The default name is "New Folder".
ObjectType

Data type: UInt32Access type: Read/WriteQualifiers: NoneType of object to place in the console folder. Possible values are:

Value Description

2

SMS_Package

3

SMS_Advertisement

7

SMS_Query

8

SMS_Report

9

SMS_MeteredProductRule

11

SMS_ConfigurationItem

14

SMS_OperatingSystemInstallPackage

17

SMS_StateMigration

18

SMS_ImagePackage

19

SMS_BootImagePackage

20

SMS_TaskSequencePackage

21

SMS_DeviceSettingPackage

23

SMS_DriverPackage

25

SMS_Driver

1011

SMS_SoftwareUpdate

2011

SMS_ConfigurationItem (Configuration baseline).

ParentContainerNodeID

Data type: UInt32Access type: Read/WriteQualifiers: NoneThe unique ID of the parent folder.
SearchFolder

Data type: BooleanAccess type: Read/WriteQualifiers: NoneTRUE if the folder is a search folder; otherwise FALSE. The default value is FALSE.
SearchString

Data type: StringAccess type: Read/WriteQualifiers: [lazy]Search criteria for the folder. Only applies if SearchFolder is TRUE. The default value is "".
SourceSite

Data type: StringAccess type: Read-onlyQualifiers: [read, not_null]The site code of the site where the folder originated.

Remarks

There are no special class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers that are included in the Properties section, see Configuration Manager Class and Property Qualifiers.

System Center 2012 Configuration Manager introduces folders that can be searched for System Center 2012 Configuration Manager objects based on a number of criteria. For example, your application can search for packages with a specific package ID. The search criteria are defined by XML. The following example defines a search for a package with a package ID of JBS00004.

  Copy Code
<SearchFolderDescription xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="SMS_Package">
 <SearchFolderDescriptionItems>
 <SearchFolderDescriptionItem PropertyName="PackageID">
  <SearchStrings>
   <string>JBS00004</string>
  </SearchStrings> 
 </SearchFolderDescriptionItem>
 </SearchFolderDescriptionItems>
</SearchFolderDescription>

Requirements

Runtime Requirements

Development Requirements

See Also