Adobe 38040334 - Dreamweaver CS3 User Manual page 71

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

• The
argument is a connection name that is specified in the Connection Manager. It identifies the
connName
connection string that Dreamweaver should use to make a database connection to a live data source.
• The
argument is the name of the procedure.
procName
Returns
An array of parameter objects, each specifying the following set of properties:
Property name
name
datatype
direction
Example
The following example retrieves the parameter objects for the specified procedure and creates a tooltip for each
object using its properties.
var paramNameObjs = MMDB.getSPParameters(connName,procName);
for (i = 0; i < paramNameObjs.length; i++)
{
var paramObj = paramNameObjs[i];
var tooltiptext = paramObj.datatype;
tooltiptext+=" ";
tooltiptext+=GetDirString(paramObj.directiontype);
}
MMDB.getSPParamsAsString()
Availability
Dreamweaver UltraDev 1.
Description
This function gets a comma-delimited string that contains the list of parameters that the stored procedure takes.
Arguments
connName, procName
• The
argument is a connection name that is specified in the Connection Manager. It identifies the
connName
connection string that Dreamweaver should use to make a database connection to a live data source.
• The
argument is the name of the stored procedure.
procName
Description
Name of the parameter (for example,
Datatype of the parameter (for example,
Direction of the parameter:
1
-The parameter is used for input only.
–The parameter is used for output only. In this case, you pass the parameter by
2
reference and the method places a value in it. You can use the value after the
method returns.
– The parameter is used for both input and output.
3
4
– The parameter holds a return value.
)
@@lolimit
)
smallmoney
DREAMWEAVER CS3
66
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents