SMS_MigrationCollectionInfo 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_MigrationCollectionInfo Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the collections created on the current active Configuration Manager 2007 hierarchy.

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

Class SMS_MigrationCollectionInfo : SMS_BaseClass
{
    UInt32 ChildCount;
    String Children;
    UInt32 CollectionEntityID;
    String CollectionName;
    UInt32 CollectionType;
    UInt32 Count;
    Boolean IsTop;
    UInt32 LimitToCount;
    String LimitTos;
    UInt32 SiteCodeCount;
    String SiteCodes;
    String SourceSiteCollectionID;
    UInt32 SourceSiteID;
    UInt32 Status;
};

The following table lists the methods in the SMS_MigrationCollectionInfo class.

Method

Description

GetClientsCountByCollections Method in Class SMS_MigrationCollectionInfo

Retrieves the number of clients in the specified collection.

System_CAPS_warningWarning

This method is reserved for future use.

ChildCount

Data type: UInt32

Access type: Read-only

Qualifiers: none

The count of child collections.

Children

Data type: String

Access type: Read-only

Qualifiers: none

The child collection Ids, separated by ','.

CollectionEntityID

Data type: UInt32

Access type: Read-only

Qualifiers: none

Entity ID of this collection.

CollectionName

Data type: String

Access type: Read-only

Qualifiers: none

Display name of the collection.

CollectionType

Data type: UInt32

Access type: Read-only

Qualifiers: none

The type of the collection.

0

Mixed

1

User

2

Device

3

UnknownArchitecture

4

UnknownQuery

5

Folder

Count

Data type: UInt32

Access type: Read-only

Qualifiers: none

The total number of devices or users in this collection.

IsTop

Data type: Boolean

Access type: Read-only

Qualifiers: none

true if the collection is a top collection which linked to the root.

LimitToCount

Data type: UInt32

Access type: Read-only

Qualifiers: none

The total number of collections that the collection is limited to.

LimitTos

Data type: String

Access type: Read-only

Qualifiers: none

The string that concatenate all ID of collections that the collection is limit to, separated by ‘,’.

SiteCodeCount

Data type: UInt32

Access type: Read-only

Qualifiers: none

The count of site codes embedded in the query.

SiteCodes

Data type: String

Access type: Read-only

Qualifiers: none

The string that concatenate all site codes that embedded in the collection query string, separated by ‘,’.

SourceSiteCollectionID

Data type: String

Access type: Read-only

Qualifiers: [key]

Unique identifier for the collection in the source site.

SourceSiteID

Data type: UInt32

Access type: Read-only

Qualifiers: [key]

Unique identifier for the source site in SMS_MigrationSourceSite.

Status

Data type: UInt32

Access type: Read-only

Qualifiers: none

Status of the collection.

Each instance of this class represents a collection.

Show: