WebMethodByName - cWebObject

Searches for the message handle of a message based on the name of a web method

Type: Function

Return Data Type: Handle

Parameters: String sMethodName

ParameterDescription
sMethodNameThe name of the web method


Return Value

Returns an error if the message is not published.


Syntax
Function WebMethodByName String sMethodName Returns Handle

Call: Get WebMethodByName sMethodName to HandleVariable


Description

This function searches for the message handle of a message based on the name of a web method.

Use the WebPublishProcedure and WebPublishFunction commands to publish the message.