This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesGDB > ESRI.ArcGIS.DataSourcesGDB > Interfaces > ID > IDataServerManagerAdmin Interface > IDataServerManagerAdmin.GetConnectedUsers Method (ArcObjects .NET 10.4 SDK) |
Gets active users.
[Visual Basic .NET] Public Function GetConnectedUsers ( _ ByVal dbName As String _ ) As Integer
[C#] public int GetConnectedUsers ( string dbName );
[C++]
HRESULT GetConnectedUsers(
BSTR dbName,
long* nUsers
);
[C++]
Parameters dbName [in] dbName is a parameter of type BSTR nUsers [out, retval] nUsers is a parameter of type long
This method returns the number of connected users in a particular Geodatabase.