Finding :Workspace- Connected Database

Many of us wants to know the underlying database of workspace connected.  Use IDatabaseConnectionInfo2: when you want to know the type of DBMS the workspace is connected to. For example, when connected to a SQLServer database ConnectionDBMS will return the enumeration value corresponding to a SQLServer database. GeodatabaseServerClass Property of this interface lists Server class types. i.e  Personal /Workgroup/Enterprise ArcSDE server.

Here is an sample in C#.NET


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: