Esri Business Analyst Server API for Silverlight 2.2 Reference
ReportFromProfileParameters Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation Namespace : ReportFromProfileParameters Class

Glossary Item Box

The ReportFromProfileParameters class provides input parameters for the Report from Profile task.

Object Model

ReportFromProfileParameters ClassFolderItem ClassOutputTypes ClassProfileData ClassBAResultType ClassReportOptions Class

Syntax

Remarks

Output options for this task include creating a report (OutputTypes.GetReport). You need not specify the output options for this task because the GetReport output type is set by default.

Example

The code snippet below creates ReportFromProfileParameters and then executes a Report From Profile task.
C#Copy Code
ReportFromProfileParameters parameters = new ReportFromProfileParameters();
            
// The ProfileData type could take either data as an XML string
// or as ESRI.ArcGIS.Client.BAServer.FolderItem type, e.g.
//FolderItem profile = new FolderItem(workspaceName, projectName, FolderType.esriFolderSegProfiles, profileName);
            
// Set a segmentation profile as a FolderItem using implicit cast operator.
parameters.Profile = profile;
            
// Set report parameters. 
parameters.StandardReportOptions = new ReportOptions("PDF");
 
reportFromProfileTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.BATaskParameters
      ESRI.ArcGIS.Client.BACore.Client.StandardReportParameters
         ESRI.ArcGIS.Client.BAServer.Tasks.StandardReportParameters
            ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation.ReportFromProfileParameters

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.