
Visual Basic (Declaration)
C#
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.
The code snippet below creates ReportFromProfileParameters and then executes a Report From Profile task.
C# | ![]() |
---|---|
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)); |
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
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