Set

Sets configuration information on the computer.

Requirements

Namespace: Honeywell.Mobility.DeviceManagement

Assembly: Honeywell.Mobility.DeviceManagement.ITCSSApi.dll

Syntax

[C#]
public uint Set(
    string pszSetData,
    StringBuilder pszReturnedData,
    ref Int32 pReturnedDataSize,
    Int32 iTimeOut);

Parameters

pszSetData
A string describing the data to set.

pszReturnedData
A string buffer used to store the returned data.

pReturnedDataSize
The number of characters that can be stored in the pszReturnedData buffer. If the data to be returned is larger than the pszReturnedData buffer, then pReturnedDataSize will be modified to contain the required size.

iTimeOut
(Optional) Amount of time (in seconds) allowed for connecting to the DeviceManagement API. Range is 0 to 599. Pass in 0 to use the default value of 60 seconds.

Return Values

All return values are defined in the ITCSSErrors class.

E_SS_SUCCESS
Success.

E_SSAPI_FUNCTION_UNAVAILABLE
Function is unavailable via the DeviceManagement API.

E_SSAPI_OPERATION_FAILED
The operation failed.

E_SSAPI_MISSING_REQUIRED_PARM
Required parameter is missing.

E_SSAPI_MALFORMED_XML
XML is incorrectly formatted.

E_SSAPI_TIMEOUT
Operation timed out.

More Information

.NET Reference: Honeywell.Mobility.DeviceManagement Class