getTotalEmployeeCount() 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 number of employees, both active and inactive, in the client’s database

Syntax

  • Integer = AeXMLBridge.getTotalEmployeeCount();

Parameters

  • None

Return Value

  • Returns an integer containing the number of employees, both active and inactive

Sample Code

C#

1
2
3
4
5
6
7
8
try
{
int totalEmps = ws.getTotalEmployeeCount();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

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

Remarks

  • None

Possible Errors

  • None

getActiveEmployeesCount
getActiveEmployeesList
getAllEmployeesList
getInactiveEmployeesCount
getInactiveEmployeesList

Back to Top