Check an application identifier to ensure it is
valid and exists.
Syntax
object.ValidateId ( AppId )
Parameters
- AppId
- A string which specifies the application ID to be validated. If
the application ID is a zero-length string or contains illegal
characters, the method will fail.
Return Value
A value of True is returned if the application ID is valid.
Otherwise, a value of False is returned and the LastError
property will return the specific cause of the failure.
Remarks
The ValidateId method is used to determine
if the specified application identifier is valid and has been previously
registered using the RegisterId method. The
ID must only consist of ASCII letters, numbers, the period and
underscore character. Whitespace characters and non-ASCII Unicode characters are not permitted.
The maximum length of an application ID string is 63 characters.
See Also
AppId Property,
Open Method,
RegisterId Method,
UnregisterId Method
|