Business Analyst Online API for Silverlight 2.2 Reference
SetRequiredVariable Method
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore.Client Namespace > BATaskUtils Class : SetRequiredVariable Method

variables
Request variables to set variable for.
name
Variable name.
value
Variable value.

Glossary Item Box

Sets a required variable with the given name.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

variables
Request variables to set variable for.
name
Variable name.
value
Variable value.

Exceptions

ExceptionDescription
BARequestErrorFailed to set variable because its value has no overriden ToString method or the ToString method failed.

Remarks

If the variable value is missing or empty, an exception is thrown.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 ESRI Inc. All Rights Reserved.