Interface IDatabaseConnectionInfo

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that provide information about the Workspace's connected database.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("2808CAD6-E0FA-4478-BE5B-0E645A2BC7ED")]
public interface IDatabaseConnectionInfo

Properties

ConnectedDatabase

The name of the connected database. It may be different from the DATABASE property in the workspace's connection properties.

string ConnectedDatabase { get; }

Property Value

string

Remarks

If the underlying DBMS does not support multiple databases or is a Personal or File Geodatabase, the ConnectedDatabase property will return an empty string.

ConnectedUser

The name of the connected user. It may be different from the USER property in the workspace's connection properties.

string ConnectedUser { get; }

Property Value

string

Remarks

If used with a Personal or File Geodatabase, the ConnectedUser property will return an empty string.