WebMethodIsFunction - cWebObject

Determines if a web method is a function or a procedure

Type: Function

Return Data Type: Boolean

Parameters: Handle hMessage

ParameterDescription
hMessageThe message handle


Return Value

Returns True if the method is a function, False for a procedure or if it is not found. An error is returned if the method is not found or published.


Syntax
Function WebMethodIsFunction Handle hMessage Returns Boolean

Call: Get WebMethodIsFunction hMessage to BooleanVariable


Description

Use this function to determine if a web method is a function or a procedure.

Use the WebPublishProcedure and WebPublishFunction commands to publish the message.