The SMS_MigrationEntity Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the gathered object entities from the Configuration Manager 2007 hierarchy.

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

Class SMS_MigrationEntity : SMS_BaseClass
{
	Boolean ChangedAffinity;
	UInt32 DashboardState;
	UInt32 EntityID;
	String EntityKey;
	String EntityName;
	String ExcludedBy;
	Boolean IsActive;
	UInt32 JobIDs[];
	UInt32 ObjectTypeID;
	UInt32 ReferencedEntities[];
	UInt32 ReferencingEntities[];
	UInt32 SourceSiteID;
	UInt32 Status;
	UInt32 Type;
};

Methods

The following table lists the methods in the SMS_MigrationEntity class.

Method Description

ExcludeAndInclude Method in Class SMS_MigrationEntity

Marks the entities as excluded or included.

GetEntityReferences Method in Class SMS_MigrationEntity

Gets the referenced entities of the specified entities.

Properties

ChangedAffinity

Data type: BooleanAccess type: Read-only Qualifiers: nonetrue if this object should be included in changed object type job.
DashboardState

Data type: UInt32Access type: Read-only Qualifiers: [enumeration]Entity dashboard state. Possible values are:

0

Remaining

1

Migrated

2

Excluded

EntityID

Data type: UInt32Access type: Read-only Qualifiers: [key]Entity ID.
EntityKey

Data type: StringAccess type: Read-only Qualifiers: noneEntity key imported from a Configuration Manager 2007 site.
EntityName

Data type: StringAccess type: Read-only Qualifiers: noneName of the entity.
ExcludedBy

Data type: StringAccess type: Read-only Qualifiers: noneExcluded by user.
IsActive

Data type: BooleanAccess type: Read-only Qualifiers: nonetrue if this object is from an active site.
JobIDs

Data type: UInt32 Array Access type: Read-only Qualifiers: [lazy]Jobs containing this entity.
ObjectTypeID

Data type: UInt32Access type: Read-only Qualifiers: noneSub-type of entity.
ReferencedEntities

Data type: UInt32 Array Access type: Read-only Qualifiers: [lazy]Entities directly referenced by this entity.
ReferencingEntities

Data type: UInt32 Array Access type: Read-only Qualifiers: [lazy]Entities directly referencing this entity.
SourceSiteID

Data type: UInt32Access type: Read-only Qualifiers: noneSource site ID.
Status

Data type: UInt32Access type: Read-only Qualifiers: [enumeration]Entity migration status. Possible values are:

0

AVAILABLETOMIGRATE

1

MIGRATED

2

RUNNING

3

FAILED

4

EXCLUDED

6

MODIFIED

7

REMOVED

8

PENDINGSCHEDULE

9

SCHEDULED

Type

Data type: UInt32Access type: Read-only Qualifiers: noneType of entity.

Remarks

Each instance represents an object like a collection, a package, or a configuration item, carrying the basic metadata for the entities, such as name, status, and the unique key.

Requirements

Runtime Requirements

Development Requirements