Method: setProperty
Set target property.
Parameters
| Name | Type | Description |
|---|---|---|
| target | Target | Target to update |
| prop | Property | Property to update |
Returns
Returns a RptResultTarget with a structure defined by the following table.
| Name | Type | Description |
|---|---|---|
| errorMessage | string | Error message in readable text |
| returnCode | int | Web service error code, 0 if the operation is successful |
| success | boolean | Displays True if the operation occurred successfully |
| target | Target | Updated target |
Example