I have some old code which sets the PublishedTo state of a page using old TOM whick looks a bit like this:
Page page = (Page)tdse.GetObject(uri, EnumOpenMode.OpenModeView, publication, XMLReadFilter.XMLReadAll);
page.SetPublishedTo(target, false, currentUser);
Is there a way to do this with core service? It seems like I need to use the PublishInfoData
class, but I am not clear how to use this. Any guidance would be appreciated.