Retrieves a list of the existing
catastrophe bond attribute values in a given
Business Unit and
SQL Server Instance.
Public Function GetCatBondNotesValues( _
ByVal As GetCatBondNotesValuesRequest _
) As GetCatBondNotesValuesResponse
Dim instance As ReinsuranceProgramManagementServiceClient
Dim request As GetCatBondNotesValuesRequest
Dim value As GetCatBondNotesValuesResponse
value = instance.GetCatBondNotesValues(request)
public GetCatBondNotesValuesResponse GetCatBondNotesValues(
GetCatBondNotesValuesRequest
)
Parameters
- request
- Contains a GetCatBondNotesValuesRequest that identifies the Business Unit Sequential Identifier (SID) and SQL Instance SID associated with the list of catastrophe bond attribute values to retrieve.
Return Value
A GetCatBondNotesValuesResponse that contains a list of catastrophe bond attribute values in the specified SQL server instance and business unit.
The following example shows how to retrieve a list of the existing catastrophe bond attribute values in a given Business Unit and SQL Server Instance using the
GetCatBondNotesValues()
method:
using AIR.Services.Common.Data;
using AIR.Services.Reinsurance.ProgramManagement.Api;
using System;
class SnippetGetCatBondNotesValues
{
private static void GetCatBondNotesValues(int businessUnitSid, int sqlInstanceSid)
{
ReinsuranceProgramManagementServiceClient client = new ReinsuranceProgramManagementServiceClient();
GetCatBondNotesValuesRequest request = new GetCatBondNotesValuesRequest();
request.BusinessUnitSid = businessUnitSid;
request.SqlInstanceSid = sqlInstanceSid;
GetCatBondNotesValuesResponse response = client.GetCatBondNotesValues(request);
if (response.Status.Code == StatusCode.Success)
{
foreach (var cb in response.CatBondAttributeValues)
{
Console.WriteLine("SID: " + cb.CatBondAttributeSid + " Name: " + cb.Name + " Type: " + cb.Type);
}
}
}
}
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