ServiceObject Class
2/27/2008
The ServiceObject class represents the management view of a Service Object.
Properties
Name | Description |
---|---|
Name |
Represents the name of the Service Object in string format. |
Type |
Represents the type of the POS device class that is implemented by the Service Object. |
UposVersion |
Represents version of the UPOS standard that the Service Object is implementing in string format. |
Path |
Represents the path of the Service Object’s assembly as a string. |
Version |
The version number of the Service Object’s assembly in string format. |
Compatibility |
The major version of POS for .NET with which the Service Object is compatible. |
Description |
A short string describing the Service Object. |
IsPlugNPlay |
A Boolean indicator of whether the Service Object supports Plug and Play. |
IsLegacy |
A Boolean indicator of whether the device is using a legacy (OPOS) Service Object. |
Methods
Name | Description |
---|---|
AddDevice |
Adds a non-Plug and Play device for this Service Object. Accepts one string parameter, Path, which is the hardware path of the non-Plug and Play device to add. There is no return value. |
DeleteDevice |
Deletes a non-Plug and Play device associated with this Service Object. Accepts one string parameter, Path, which is the hardware path of the non-Plug and Play device to delete. There is no return value. |
See Also
Tasks
Using VBScript to Manage Devices