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;
};

Methods

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.

Warning
This method is reserved for future use.

Properties

ChildCount

Data type: UInt32Access type: Read-only Qualifiers: noneThe count of child collections.
Children

Data type: StringAccess type: Read-onlyQualifiers: noneThe child collection Ids, separated by ','.
CollectionEntityID

Data type: UInt32Access type: Read-onlyQualifiers: noneEntity ID of this collection.
CollectionName

Data type: StringAccess type: Read-onlyQualifiers: noneDisplay name of the collection.
CollectionType

Data type: UInt32Access type: Read-onlyQualifiers: noneThe type of the collection.

0

Mixed

1

User

2

Device

3

UnknownArchitecture

4

UnknownQuery

5

Folder

Count

Data type: UInt32Access type: Read-onlyQualifiers: noneThe total number of devices or users in this collection.
IsTop

Data type: BooleanAccess type: Read-onlyQualifiers: nonetrue if the collection is a top collection which linked to the root.
LimitToCount

Data type: UInt32Access type: Read-onlyQualifiers: noneThe total number of collections that the collection is limited to.
LimitTos

Data type: StringAccess type: Read-onlyQualifiers: noneThe string that concatenate all ID of collections that the collection is limit to, separated by ‘,’.
SiteCodeCount

Data type: UInt32Access type: Read-onlyQualifiers: noneThe count of site codes embedded in the query.
SiteCodes

Data type: StringAccess type: Read-onlyQualifiers: noneThe string that concatenate all site codes that embedded in the collection query string, separated by ‘,’.
SourceSiteCollectionID

Data type: StringAccess type: Read-onlyQualifiers: [key]Unique identifier for the collection in the source site.
SourceSiteID

Data type: UInt32Access type: Read-onlyQualifiers: [key]Unique identifier for the source site in SMS_MigrationSourceSite.
Status

Data type: UInt32Access type: Read-onlyQualifiers: noneStatus of the collection.

Remarks

Each instance of this class represents a collection.

Requirements

Runtime Requirements

Development Requirements