# GetDefaultServiceAddress Method

## Overloads

| [GetDefaultServiceAddress(ServiceTypes)](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api4.IQMS4.GetDefaultServiceAddress.htm#PIX_Services_V12_Api4_IQMS4_GetDefaultServiceAddress_PIX_QMSAPI_DataObjects_ServiceTypes_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api4.IQMS4.GetDefaultServiceAddress.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api4.IQMS4.GetDefaultServiceAddress.htm)

## GetDefaultServiceAddress(ServiceTypes)

### Declaration

```

          Uri GetDefaultServiceAddress(ServiceTypes serviceType)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ServiceTypes](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.ServiceTypes.htm) | serviceType |  |

### Returns

| Type | Description |
| --- | --- |
| System.Uri |  |