次の方法で共有


SMS_ObjectContainerNode Server WMI Class

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_ObjectContainerNode WMI class is an SMS Provider server class, in Configuration Manager, that contains information for a given Configuration Manager console folder.

Class SMS_ObjectContainerNode : SMS_BaseClass
{
   UInt32 ContainerNodeID;
   UInt32 FolderFlags;
   String FolderGuid;
   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: UInt32

    Access type: Read/Write

    Qualifiers: [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: UInt32

    Access type: Read/Write

    Qualifiers: None

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

    Access type: Read-only

    Qualifiers: [read, not_null]

    The GUID of the folder.

  • Name
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    The name of the console folder. The default name is "New Folder".

  • ObjectType
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Type 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: UInt32

    Access type: Read/Write

    Qualifiers: None

    The unique ID of the parent folder.

  • SearchFolder
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    TRUE if the folder is a search folder; otherwise FALSE. The default value is FALSE.

  • SearchString
    Data type: String

    Access type: Read/Write

    Qualifiers: [lazy]

    Search criteria for the folder. Only applies if SearchFolder is TRUE. For more information, see Configuration Manager Search Folder XML.

    The default value is "".

  • SourceSite
    Data type: String

    Access type: Read-only

    Qualifiers: [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.

Configuration Manager introduces folders that can be searched for 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.

<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

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Concepts

Configuration Manager Console Folder Server WMI Classes
About Configuration Manager Console Folders
How to Create a Configuration Manager Console Folder
How to Move a Configuration Manager Console Folder
How to Delete a Configuration Manager Console Folder
How to Create a Configuration Manager Console Search Folder
Configuration Manager Search Folder XML
SMS_ObjectContainerItem Server WMI Class