SetupData.IsValidSerialNumber

boolean SetupData.IsValidSerialNumber ( 

string ListName,

string SerialNumber )

Description

Checks to see if a given serial number is a valid serial number in the specified serial number list.

Parameters

ListName

(string) The name of the serial number list you want to validate the serial number in.

SerialNumber

(string) The serial number you want to validate.

Returns

(boolean)  True if the given serial number is present in the specified list, or false if it is not. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions