getActiveEmployeesCount() Method

Table of Contents

  1. Function
  2. Syntax
  3. Parameters
  4. Return Value
  5. Sample Code
  6. Remarks
  7. Possible Errors
  8. Related Methods

Function

  • Returns the total number of active employees in the client’s database

Syntax

  • Integer:= AeXMLBridge.getActiveEmployeesCount();

Parameters

  • None

Return Value

  • Returns an integer value containing the number of active employees

Sample Code

C#

1
2
3
4
5
6
7
8
9

try
{
int empCount = ws.getActiveEmployeesCount();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
 
Try
Dim empCount As Integer = ws.getActiveEmployeesCount
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • None

Possible Errors

  • None

getActiveEmployeesList
getAllEmployeesList
getInactiveEmployeesCount
getInactiveEmployeesList
getTotalEmployeeCount

Back to Top