The SMS_MigrationSiteMapping Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a mapping between the Configuration Manager 2007 source site and the System Center 2012 Configuration Manager top site.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_MigrationSiteMapping : SMS_BaseClass { String Account; String AccountForSql; String ContentDestination; DateTime DateLastBegin; DateTime DateLastSynced; DateTime DateLastUpdated; DateTime DateNextRun; String DestinationSiteCode; String DestinationSiteFQDN; Boolean EnableDPSharing; Boolean IsCentral; Boolean IsDecommissioned; Boolean IsDeleted; UInt32 JobIDs[]; UInt32 MigratedClientNumber; UInt32 MigratedObjectNumber; String ModifiedBy; String ParentSiteCode; String ParentSiteServer; String ScheduleToken; UInt32 SiteMappingID; String SourceSiteCode; String SourceSiteFQDN; UInt32 Status; UInt32 SyncedEntities[]; UInt32 TotalClientNumber; UInt32 TotalObjectNumber; }; |
Methods
The following table lists the methods in the SMS_MigrationSiteMapping class.
Method | Description |
---|---|
Activates the hierarchy. |
|
CleanupHierarchyData Method in Class SMS_MigrationSiteMapping |
Cleans up hierarchy data. |
CheckDecommissionState Method in Class SMS_MigrationSiteMapping |
Checks to see if site mapping can be decommissioned. |
Decommissions site mapping. |
|
Resuscitates site mapping. |
|
Synchronizes the entities on the source site. |
Properties
- Account
- Data type: StringAccess type: Read/Write Qualifiers: noneSDK Account used for migration.
- AccountForSql
- Data type: StringAccess type: Read/Write Qualifiers: noneSQL Account used for migration.
- ContentDestination
- Data type: StringAccess type: Read/Write Qualifiers: noneThe destination of the content of the packages from this site..
- DateLastBegin
- Data type: DateTimeAccess type: Read-only Qualifiers: [read]Last begin time.
- DateLastSynced
- Data type: DateTimeAccess type: Read-only Qualifiers: [read]Last sync time.
- DateLastUpdated
- Data type: DateTimeAccess type: Read-only Qualifiers: [read]Updated time.
- DateNextRun
- Data type: DateTimeAccess type: Read-only Qualifiers: [read]Next run time.
- DestinationSiteCode
- Data type: StringAccess type: Read/Write Qualifiers: noneDestination site code.
- DestinationSiteFQDN
- Data type: StringAccess type: Read-only Qualifiers: [read]Destination site FQDN.
- EnableDPSharing
- Data type: BooleanAccess type: Read/Write Qualifiers: nonetrue if it should gather distribution point information.
- IsCentral
- Data type: BooleanAccess type: Read/Write Qualifiers: nonetrue if the source site is a central site.
- IsDecommissioned
- Data type: BooleanAccess type: Read-only Qualifiers: [read]true if the site has stopped gathering data.
- IsDeleted
- Data type: BooleanAccess type: Read-only Qualifiers: [read]true if the site mapping has been deleted.
- JobIDs
- Data type: UInt32 Array Access type: Read-only Qualifiers: [lazy, read]Jobs associated with this site mapping.
- MigratedClientNumber
- Data type: UInt32Access type: Read-only Qualifiers: [read]Total number of migrated clients.
- MigratedObjectNumber
- Data type: UInt32Access type: Read-only Qualifiers: [read]Total number of migrated objects.
- ModifiedBy
- Data type: StringAccess type: Read-only Qualifiers: [read]Modified by.
- ParentSiteCode
- Data type: StringAccess type: Read-only Qualifiers: [read]Parent site code for source site.
- ParentSiteServer
- Data type: StringAccess type: Read-only Qualifiers: [read]Parent site server for source site.
- ScheduleToken
- Data type: StringAccess type: Read/Write Qualifiers: noneSchedule token for the site mapping synchronization.
- SiteMappingID
- Data type: UInt32Access type: Read-only Qualifiers: [key, read]Primary site mapping ID.
- SourceSiteCode
- Data type: StringAccess type: Read/Write Qualifiers: noneSource site code.
- SourceSiteFQDN
- Data type: StringAccess type: Read/Write Qualifiers: noneSource site FQDN.
- Status
- Data type: UInt32Access type: Read-only Qualifiers:
[enumeration, read]Site mapping synchronization status.
0
NOTSTARTED
1
COMPLETED
2
RUNNING
3
FAILED
4
STOPPED
- SyncedEntities
- Data type: UInt32 Array Access type: Read-only Qualifiers: [lazy, read]Entities synchronized from this site mapping.
- TotalClientNumber
- Data type: UInt32Access type: Read-only Qualifiers: [read]Total number of clients.
- TotalObjectNumber
- Data type: UInt32Access type: Read-only Qualifiers: [read]Total number of objects.
Remarks
Once a source site is configured for data gathering, it should appear as an instance of this class. This instance controls many aspects of the data gathering, such as the schedule, whether distribution point sharing is enabled, and so on. It also has some monitoring data such as status, the total object number and the total client number.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.