This document is archived and information here might be outdated.  Recommended version.


IDataServerManagerAdmin.GetConnectedUsers Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesGDB > ESRI.ArcGIS.DataSourcesGDB > Interfaces > ID > IDataServerManagerAdmin Interface > IDataServerManagerAdmin.GetConnectedUsers Method
ArcGIS Developer Help

IDataServerManagerAdmin.GetConnectedUsers Method

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
);
[C++]
Parameters
dbName [in]

dbName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This method returns the number of connected users in a particular Geodatabase.

See Also

IDataServerManagerAdmin Interface