| Fleet Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Telogis.API
 Syntax
SyntaxThe Fleet type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | ID | |
|  | Name | |
|  | Properties | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | ID | 
                        Unique ID for this fleet
             | 
|  | Name | 
                        The name of this fleet
             | 
|  | Properties | 
                        User-configurable properties that may be applied to this fleet
             | 
 Remarks
Remarks Examples
Examples// create a fleet of electricians and plumbers long efid = myService.CreateFleet("Electricians", e_props); long pfid = myService.CreateFleet("Plumbers", p_props); ... // add the electrician's vans to the electrician fleet foreach (long elecUnit in allElecUnits) myService.AddUnitToFleet(efid, elecUnit);
Alternatively, we could have created a single fleet and added both electricians and plumbers to the fleet. To find the electricians (and not the plumbers) we could use the FindDrivers(String, Property) (or FindUnits(String, Property) ) method.
A fleet will persist until it is removed, using the DeleteFleet(Int64) method.
 See Also
See Also