I'm trying to open SDE Workspace Factory using IWorkspaceFactory.Open
I give the complete Property set in the code to open.
IWorkspaceFactory workspaceFactory = new ESRI.ArcGIS.DataSourcesGDB.SdeWorkspaceFactory();
IWorkspace workspace = workspaceFactory.Open(propertySet,0);
But When the
workspaceFactory.Open is called, a dialogue box is opened to ask for credentials again.
Why does this happen?
Also, Can someone tell me what does the second parameter of IWorkspaceFactory.Open "hWnd" represent? I couldnt find a proper explanation in the documentation.