Public Function SubmitDeleteCompanyLossSet( _
ByVal As SubmitDeleteCompanyLossSetRequest _
) As SubmitDeleteCompanyLossSetResponse
Dim instance As ReinsuranceCompanyLossSetManagementServiceClient
Dim request As SubmitDeleteCompanyLossSetRequest
Dim value As SubmitDeleteCompanyLossSetResponse
value = instance.SubmitDeleteCompanyLossSet(request)
public SubmitDeleteCompanyLossSetResponse SubmitDeleteCompanyLossSet(
SubmitDeleteCompanyLossSetRequest
)
Parameters
- request
- Contains a SubmitDeleteCompanyLossSetRequest that identifies the software-generated sequential identifier (SID) that uniquely identifies the company loss set to delete, as well as the Business Unit SID and SQL Instance SID associated with the company loss set.
Return Value
A SubmitDeleteCompanyLossSetResponse that contains the Activity SID that uniquely identifies the asynchronous web service call that you made to submit the delete job.
The following example shows how to delete a Company Loss Set using the
SubmitDeleteCompanyLossSet()
method:
using AIR.Services.Common.Data;
using AIR.Services.Reinsurance.CompanyLossSetManagement.Api;
using System;
class SnippetSubmitDeleteCompanyLossSet
{
private static void SubmitDeleteCompanyLossSet(int businessUnitSid, int sqlInstanceSid, int clfSid)
{
ReinsuranceCompanyLossSetManagementServiceClient client = new ReinsuranceCompanyLossSetManagementServiceClient();
SubmitDeleteCompanyLossSetRequest request = new SubmitDeleteCompanyLossSetRequest();
request.BusinessUnitSid = businessUnitSid;
request.SqlInstanceSid = sqlInstanceSid;
request.CompanyLossSetSid = clfSid;
SubmitDeleteCompanyLossSetResponse response = client.SubmitDeleteCompanyLossSet(request);
if (response.Status.Code == StatusCode.Success)
{
Console.WriteLine("Delete Company Loss Set submitted with Acitivity Sid: " + response.ActivitySid);
}
}
}
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