IDatabaseConnectionInfo4 Interface

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

Members

Name Description
Read-only property ConnectedDatabase The name of the connected database. It may be different from the DATABASE property in the workspace's connection properties.
Read-only property ConnectedDatabaseEx The name of the connected database. It may be different from the DATABASE property in the workspace's connection properties. Works on Oracle.
Read-only property ConnectedUser The name of the connected user. It may be different from the USER property in the workspace's connection properties.
Read-only property ConnectedUsers The current connections to the database.
Read-only property ConnectionCurrentDateTime The current DBMS date/time.
Read-only property ConnectionCurrentDateTimeInUTC The current UTC date/time.
Read-only property ConnectionDBMS The type of DBMS this workspace is connected to.
Read-only property ConnectionServer The server this workspace is connected to.
Method DisconnectUser Disconnect a user connection to the database.
Method GenerateDefaultRealm The default qualifier used to create fully qualified names for Editor Tracking.
Read-only property GeodatabaseServerClass The ArcSDE server class.
Read/write property IsAcceptingConnections Is the database accepting connections.
Read/write property Realm The realm used to create fully qualified names for Editor Tracking.

IDatabaseConnectionInfo4.ConnectionCurrentDateTimeInUTC Property

The current UTC date/time.

Public ReadOnly Property ConnectionCurrentDateTimeInUTC As Object
public object ConnectionCurrentDateTimeInUTC {get;}

IDatabaseConnectionInfo4.GenerateDefaultRealm Method

The default qualifier used to create fully qualified names for Editor Tracking.

Public Function GenerateDefaultRealm ( _
) As String
public string GenerateDefaultRealm (
);

Description

GenerateDefaultRealm returns a default realm for a workspace for use in editor tracking.

Remarks

When setting a realm, you can set either a custom realm which can be any string, or a default realm you can retrieve with GenerateDefaultRealm. To set a default realm, set IDatabaseConnectionInfo4.Realm to the string returned by GenerateDefaultRealm.

IDatabaseConnectionInfo4.Realm Property

The realm used to create fully qualified names for Editor Tracking.

Public Property Realm As String
public string Realm {get; set;}

Description

Realm returns the realm that is currently set for a workspace.

Remarks

Realm is the string appended to the user name as it is recorded into the editor tracking creator and last editor fields.

Inherited Interfaces

Interfaces Description
IDatabaseConnectionInfo3 Provides access to members that provide information about the Workspace's connected database.
IDatabaseConnectionInfo2 Provides access to members that provide information about the Workspace's connected database.
IDatabaseConnectionInfo Provides access to members that provide information about the Workspace's connected database.

Classes that implement IDatabaseConnectionInfo4

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.