Exports a
Reinsurance Program in CSV format from Touchstone®.
Public Function ExportCSVReinsuranceProgram( _
ByVal As ExportCSVReinsuranceProgramRequest _
) As ExportCSVReinsuranceProgramResponse
Dim instance As ReinsuranceManagementServiceClient
Dim request As ExportCSVReinsuranceProgramRequest
Dim value As ExportCSVReinsuranceProgramResponse
value = instance.ExportCSVReinsuranceProgram(request)
public ExportCSVReinsuranceProgramResponse ExportCSVReinsuranceProgram(
ExportCSVReinsuranceProgramRequest
)
Parameters
- request
- Contains an ExportCSVReinsuranceProgramRequest that identifies the FilePath, Program Name, and Project SID associated with the Reinsurance Program that you want to export in CSV format, along with the associated Business Unit SID and SQL Instance SID.
Return Value
A ExportCSVReinsuranceProgramResponse containing the Reinsurance Program that you have exported in CSV format from Touchstone.
The following example shows how to export a Reinsurance Program file in CSV format using the
ExportCSVReinsuranceProgram()
method:
using AIR.Services.Common.Data;
using AIR.Services.Reinsurance.Api;
using System;
public class ExportCSVReinsuranceProgramSnippet
{
private void ExportCSVReinsuranceProgram(int businessUnitSid, int sqlInstanceSid, int projectSid, string filePath, string programName)
{
ReinsuranceManagementServiceClient client = new ReinsuranceManagementServiceClient();
ExportCSVReinsuranceProgramRequest request = new ExportCSVReinsuranceProgramRequest();
request.BusinessUnitSid = businessUnitSid;
request.SqlInstanceSid = sqlInstanceSid;
request.ProjectSid = projectSid;
request.FilePath = filePath;
request.ProgramName = programName;
ExportCSVReinsuranceProgramResponse response = client.ExportCSVReinsuranceProgram(request);
if ((response.Status.Code == StatusCode.Success))
{
Console.WriteLine("Successfully exported the reinsurance program.");
}
}
}
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2