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


IDataServerManagerAdmin.GetConnectedUsers Method (ArcObjects .NET 10.4 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,
  long* nUsers
);
[C++]

Parameters dbName [in] dbName is a parameter of type BSTR nUsers [out, retval] nUsers is a parameter of type long

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