IDepartmentApiDeleteDepartment Method |
Deletes a department by ID.
Namespace: AMG.APIAssembly: AMG.API (in AMG.API.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax int DeleteDepartment(
int departmentId
)
Function DeleteDepartment (
departmentId As Integer
) As Integer
int DeleteDepartment(
int departmentId
)
abstract DeleteDepartment :
departmentId : int -> int
Parameters
- departmentId
- Type: SystemInt32
The ID of department to delete
Return Value
Type:
Int32Returns number of deleted database rows.
See Also