Aqualogic Interaction API  
 

IPTMigrationManager.BulkSetMigrationStatus Method 

Sets the migration status of the specified objects to have the passed-in migration status. The permissions on this method are checked as follows: Admins have rights to set any object to any status. Non-admins can set objects to the following access levels given the constraints: PT_MIGRATION_STATUS_NONE - only if the calling user was the last migration requestor, and the current status of the object is *not* PT_MIGRATION_STATUS_APPROVED PT_MIGRATION_STATUS_APPROVAL_REQUESTED - if the calling user has Edit access on the objects being marked for the request PT_MIGRATION_STATUS_APPROVED, PT_MIGRATION_STATUS_DENIED, and PT_MIGRATION_STATUS_MIGRATED can only be set on objects by users with admin access.

void BulkSetMigrationStatus(
   int nClassID,
   int[] iaObjectIDs,
   int nMigrationStatus,
   string strMigrationComment
);

Parameters

nClassID
- ClassID of the objects, from the PT_CLASSIDS enumeration.
iaObjectIDs
- Array of objectIDs of the objects to set migration status for.
nMigrationStatus
- The migration status to set, from the PT_MIGRATION_STATUS_TYPES enumeration.
strMigrationComment
- The migration comment to use for the objects. Ignored when setting status to PT_MIGRATION_STATUS_NONE or PT_MIGRATION_STATUS_MIGRATED.

See Also

IPTMigrationManager Interface | com.plumtree.server Namespace