Retrieves a set of Geospatial Analysis Templates.
You can manage Geospatial Analysis Templates only from the Touchstone Administration Console.
The GeospatialAnalysisTemplate() method contains the new DamagePlacementType and DamageBand parameters in the RingAnalysis Options. Enabling, you can perform the Gridded Ring Geospatial analysis using the SubmitRingExposureConcentrationAnalysisRequest() method for the retrieved geospatial templates.
Public Function GetGeospatialAnalysisTemplates( _
ByVal As GetGeospatialAnalysisTemplatesRequest _
) As GetGeospatialAnalysisTemplatesResponse
Dim instance As ObjectManagementServiceClient
Dim request As GetGeospatialAnalysisTemplatesRequest
Dim value As GetGeospatialAnalysisTemplatesResponse
value = instance.GetGeospatialAnalysisTemplates(request)
public GetGeospatialAnalysisTemplatesResponse GetGeospatialAnalysisTemplates(
GetGeospatialAnalysisTemplatesRequest
)
Parameters
- request
- Contains a GetGeospatialAnalysisTemplatesRequest that identifies the Business Unit SID and SQL Instance SID associated with the templates to retrieve.
Return Value
A GetGeospatialAnalysisTemplatesResponse containing a list of Geospatial Analysis Templates in the specified business unit and SQL Server instance.
The following example shows how to get a list of the Geospatial Analysis Templates associated with a given Business Unit using the
GetGeospatialAnalysisTemplates() method:
using AIR.Services.ObjectManagement.Api;
using System;
GetGeospatialAnalysisTemplatesRequest
class SnippetGetGeospatialAnalysisTemplates(request);
{
private static void GetGeospatialAnalysisTemplates(int businessUnitSid, int sqlInstanceSid)
{
GetGeospatialAnalysisTemplatesRequest request = new GetGeospatialAnalysisTemplatesRequest();
request.BusinessUnitSid = 1;
request.SqlInstanceSid = 1;
ObjectManagementServiceClient ecClient = new ObjectManagementServiceClient();
GetGeospatialAnalysisTemplatesResponse resoponse = client.GetGeospatialAnalysisTemplates(request);
if (response.Status.Code == StatusCode.Success)
{
foreach (var set in response.GetGeospatialAnalysisTemplates)
var response = ecClient.GetGeospatialAnalysisTemplates(request);
}
}
}
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