SMS_MigrationJobEntityRelation 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_MigrationJobEntityRelation Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the relationship of between each migration job and the objects that it contains.

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

Class SMS_MigrationJobEntityRelation : SMS_BaseClass
{
    UInt32 EntityID;
    String EntityName;
    SInt32 EntityRichStatus;
    SInt32 EntityStatus;
    SInt32 JobEntityStatus;
    UInt32 JobID;
    SInt32 MessageCode;
    String MessageDetail1;
    String MessageDetail2;
    String MessageDetail3;
    SInt32 Type;
    String UniqueID;
};

The SMS_MigrationJobEntityRelation class does not define any methods.

EntityID

Data type: UInt32

Access type: Read-only

Qualifiers: [key]

Migration entity ID.

EntityName

Data type: String

Access type: Read-only

Qualifiers: none

The name of the entity.

EntityRichStatus

Data type: SInt32

Access type: Read-only

Qualifiers: none

Enums for rich entity status.

0

Available to migrate

1

Migrated

2

Running

3

Failed

4

Excluded

5

PendingContent

6

Modified

7

Removed

8

PendingSchedule

9

Scheduled

EntityStatus

Data type: SInt32

Access type: Read-only

Qualifiers: none

Enums for entity status, not job related.

0

Not started

1

completed

2

running

3

failed

4

excluded

5

skipped (never happened)

JobEntityStatus

Data type: SInt32

Access type: Read-only

Qualifiers: none

Enums for job entity status.

0

Not started

1

completed

2

running

3

failed

4

excluded (never happen)

5

skipped

JobID

Data type: UInt32

Access type: Read-only

Qualifiers: [key]

Migration job ID.

MessageCode

Data type: SInt32

Access type: Read-only

Qualifiers: [read]

Code for first message for this object in this job.

MessageDetail1

Data type: String

Access type: Read-only

Qualifiers: [read]

Additional detail 1 for message.

MessageDetail2

Data type: String

Access type: Read-only

Qualifiers: [read]

Additional detail 2 for message.

MessageDetail3

Data type: String

Access type: Read-only

Qualifiers: [read]

Additional detail 3 for message.

Type

Data type: SInt32

Access type: Read-only

Qualifiers: none

The object type.

UniqueID

Data type: String

Access type: Read-only

Qualifiers: none

The unique ID of the object.

For each instance, this class carries the detailed information for the containing object, such as the name, status, detailed error message, or error code.

Show: