ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > PhpHelper Class : LockListSyncer Method |
public static void LockListSyncer()
// get the list from project $list = $project->Lists->get_Item("List1"); // lock the lists ZennoLab\CommandCenter\PhpHelper::LockListSyncer(); try { // get the item from list $tmp = $list->get_Item(0); // remove this item $list->RemoveAt(0); } catch (Exception $e) {} // unlock the lists ZennoLab\CommandCenter\PhpHelper::UnLockListSyncer();
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.