IAzBizRuleParameters::AddParameter method (azroles.h)
The AddParameter method adds a parameter to the list of parameters available to business rule (BizRule) scripts.
Syntax
HRESULT AddParameter(
[in] BSTR bstrParameterName,
[in] VARIANT varParameterValue
);
Parameters
[in] bstrParameterName
A string that contains the parameter name.
[in] varParameterValue
The data type of the parameter value.
Return value
If the method succeeds, it returns S_OK.
If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | azroles.h |