Public Function SubmitGeocodeExposureView( _
ByVal As SubmitGeocodeExposureViewRequest _
) As SubmitGeocodeExposureViewResponse
Dim instance As ExposureManagementServiceClient
Dim request As SubmitGeocodeExposureViewRequest
Dim value As SubmitGeocodeExposureViewResponse
value = instance.SubmitGeocodeExposureView(request)
public SubmitGeocodeExposureViewResponse SubmitGeocodeExposureView(
SubmitGeocodeExposureViewRequest
)
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.
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);
}
}
}
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