Select to view content in your preferred language

How to use IWorkspaceName2?

2039
0
09-29-2014 10:23 PM
AndyArismendi1
Occasional Contributor

I'd like two things -

1) Example usage of IWorkspaceName2 to retrieve the ConnectionString property (this is the only way I know how to generate an encrypted password suitable for the XML inside an MSD file)

IWorkspaceName2 - ArcObjects 10 .NET SDK Help

I asked at gis.stackexchange.com and received a working usage - arcgis 10.0 - How to use IWorkspaceName2 - Geographic Information Systems Stack Exchange

The answer (1 right now) uses IWorkspaceFactory2::OpenFromString which requires a live database and valid connection string.

2) Is there any way to get IWorkspaceName2::ConnectionString from a connection string but without having to connect to the database?

0 Kudos
0 Replies