Retrieves a list of user-supplied Geocode Match Mapping Sets.
You can manage the default geocode match mapping set value from the Touchstone application.
Public Function GetUserGeocodeMatchMappingSets( _
ByVal As GetUserGeocodeMatchMappingSetsRequest _
) As GetUserGeocodeMatchMappingSetsResponse
Dim instance As ObjectManagementServiceClient
Dim request As GetUserGeocodeMatchMappingSetsRequest
Dim value As GetUserGeocodeMatchMappingSetsResponse
value = instance.GetUserGeocodeMatchMappingSets(request)
public GetUserGeocodeMatchMappingSetsResponse GetUserGeocodeMatchMappingSets(
GetUserGeocodeMatchMappingSetsRequest
)
Parameters
- request
- Contains a GetUserGeocodeMatchMappingSetsRequest that identifies the Business Unit SID and SQL Instance SID associated with the mapping sets to retrieve.
Return Value
A GetUserGeocodeMatchMappingSetsResponse containing a list of User Geocode Match Mapping Sets in the specified business unit and SQL Server instance.
The following example shows how to get a list of the user-supplied geocode match mapping sets associated with a given Business Unit using the
GetUserGeocodeMatchMappingSets() method:
using AIR.Services.Common.Data;
using AIR.Services.ObjectManagement.Api;
using AIR.Services.ObjectManagement.Data;
using System;
public class SnippetGetUserGeocodeMatchMappingSets
{
private static void GetUserGeocodeMappingSets(int businessUnitSid, int sqlInstanceSid)
{
ObjectManagementServiceClient client = new ObjectManagementServiceClient();
GetUserGeocodeMatchMappingSetsRequest request = new GetUserGeocodeMatchMappingSetsRequest();
request.BusinessUnitSid = businessUnitSid;
request.SqlInstanceSid = sqlInstanceSid;
GetUserGeocodeMatchMappingSetsResponse response = client.GetUserGeocodeMatchMappingSets(request);
if ((response.Status.Code == StatusCode.Success))
{
foreach (UserGeocodeMatchMappingSet mappingSet in response.UserGeocodeMatchMappingSets)
{
Console.WriteLine("------------------------------------------------------------");
Console.WriteLine("SID: " + mappingSet.ID);
Console.WriteLine("Name: " + mappingSet.Name);
}
}
}
}
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