$pwaUrl = “https:///”
$myCred = Get-Credential
$svcPSProxy = New-WebServiceProxy -uri $svcPSUrl -credential $myCred
[System.Enum]$pwaDataStoreEnum = $svcPSProxy.DataStoreEnum # this not returning as enum.
#equivalent method in ASPX page with C# code is below
MyProjectWebReference.ProjectDataSet readProjDs = projectSvc.ReadProjectEntities(guid, PROJECT_ENTITY_TYPE_TASK_AND_RESOURCE, MyProjectWebReference.DataStoreEnum.WorkingStore);
I even tried to Load Office.Project.Server.Library dll and use DataStoreEnum but that too failed. Anyone have thought about it or any suggestions?
MSDN says DataStoreEnum is used from WebSvcProject but this wasn't easy in powershell. COuld be a simple thing but I have submitted this question in multiple forums but could not get any answer.
You must be logged in to reply to this topic.