Touchstone 11.0 API Reference
SubmitGeocodeExposureView Method
Example 


Air.Services.Proxy Assembly > (Global) Namespace > ExposureManagementServiceClient Class : SubmitGeocodeExposureView Method
Contains a SubmitGeocodeExposureViewRequest that identifies the Exposure View Sequential Identifier (SID) for the Exposure View that you want to geocode, along with the associated Business Unit SID and SQL Instance SID.
Geocodes a Touchstone® Exposure View.
Syntax
Public Function SubmitGeocodeExposureView( _
   ByVal request As SubmitGeocodeExposureViewRequest _
) As SubmitGeocodeExposureViewResponse
Dim instance As ExposureManagementServiceClient
Dim request As SubmitGeocodeExposureViewRequest
Dim value As SubmitGeocodeExposureViewResponse
 
value = instance.SubmitGeocodeExposureView(request)

Parameters

request
Contains a SubmitGeocodeExposureViewRequest that identifies the Exposure View Sequential Identifier (SID) for the Exposure View that you want to geocode, along with the associated Business Unit SID and SQL Instance SID.

Return Value

A SubmitGeocodeExposureViewResponse containing the Status of the geocoding activity, as well as the Activity SID that uniquely identifies the asynchronous web service call that you made to geocode the exposure view.
Remarks
To find the Business Unit SID to pass into this method, call the GetBusinessUnits() method.

To find the SQL Instance SID to pass into this method, call the GetSqlInstances() method.

To find the Exposure View SID to pass into this method, call the GetExposureViews() method. (To find the Project SID to pass into the GetExposureViews() method, call the GetProjects() method.)

Example
The following example shows how to geocode an Exposure View using the SubmitGeocodeExposureView() method:
using AIR.Services.Common.Data;
using AIR.Services.ExposureManagement.Api;
using System;
            
public class SnippetSubmitGeocodeExposureView
{
            
            
private static void GeocodeExposureView(int businessUnitSid, int sqlInstanceSid, int exposureViewSid, int userGeocodeMatchMappingSetSid)
{
ExposureManagementServiceClient client = new ExposureManagementServiceClient();
SubmitGeocodeExposureViewRequest request = new SubmitGeocodeExposureViewRequest();
request.BusinessUnitSid = businessUnitSid;
request.SqlInstanceSid = sqlInstanceSid;
request.ExposureViewSid = exposureViewSid;
request.UserGeocodeMatchMappingSetSid = userGeocodeMatchMappingSetSid;
SubmitGeocodeExposureViewResponse response = client.SubmitGeocodeExposureView(request);
            
            
   if ((response.Status.Code == StatusCode.Success))
   {
Console.WriteLine("Submitted Successfully to HPC with Activity ID: " + response.ActivitySid);
}
}
}
Requirements

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

See Also

Reference

ExposureManagementServiceClient Class
ExposureManagementServiceClient Members