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


IDataServerManagerAdmin.GetConnectedUsers Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesGDB)  

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