Interface IDatabaseConnectionInfo4

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

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

[Guid("7461E679-FD70-4655-B5F5-BCF5FF97064A")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDatabaseConnectionInfo4 : IDatabaseConnectionInfo3, IDatabaseConnectionInfo2, IDatabaseConnectionInfo

Properties

ConnectedDatabase

string ConnectedDatabase { get; }

Property Value

string

ConnectedDatabaseEx

string ConnectedDatabaseEx { get; }

Property Value

string

ConnectedUser

string ConnectedUser { get; }

Property Value

string

ConnectedUsers

IEnumUserInfo ConnectedUsers { get; }

Property Value

IEnumUserInfo

ConnectionCurrentDateTime

object ConnectionCurrentDateTime { get; }

Property Value

object

ConnectionCurrentDateTimeInUTC

The current UTC date/time.

object ConnectionCurrentDateTimeInUTC { get; }

Property Value

object

ConnectionDBMS

esriConnectionDBMS ConnectionDBMS { get; }

Property Value

esriConnectionDBMS

ConnectionServer

string ConnectionServer { get; }

Property Value

string

GeodatabaseServerClass

esriGeodatabaseServerClassType GeodatabaseServerClass { get; }

Property Value

esriGeodatabaseServerClassType

IsAcceptingConnections

bool IsAcceptingConnections { get; set; }

Property Value

bool

Realm

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

string Realm { get; set; }

Property Value

string

Remarks

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

Methods

DisconnectUser(int)

void DisconnectUser(int SessionID)

Parameters

SessionID int

GenerateDefaultRealm()

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

string GenerateDefaultRealm()

Returns

string

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.