# GetAPI Method

## Overloads

| [GetAPI()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.DirectoryServiceConnectorSettings.GetAPI.htm#PIX_DirectoryServiceConnectorSettings_GetAPI) |  |  |
| --- | --- | --- |
| [GetAPI(Int32)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.DirectoryServiceConnectorSettings.GetAPI.htm#PIX_DirectoryServiceConnectorSettings_GetAPI_System_Int32_) |  |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DirectoryServiceConnectorSettings.GetAPI.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DirectoryServiceConnectorSettings.GetAPI.htm)

## GetAPI()

### Declaration

```

          public IDSC GetAPI()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| [IDSC](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.Services.IDSC.htm) |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DirectoryServiceConnectorSettings.GetAPI.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DirectoryServiceConnectorSettings.GetAPI.htm)

## GetAPI(Int32)

### Declaration

```

          public IDSC GetAPI(int timeoutMilliSec)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Int32 | timeoutMilliSec |  |

### Returns

| Type | Description |
| --- | --- |
| [IDSC](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.Services.IDSC.htm) |  |