
## ExternalConnectionCollection class

Specifies the [ExternalConnection](../externalconnection/) collection

```javascript
class ExternalConnectionCollection implements Iterable<ExternalConnection>;
```


## Methods

| Method | Description |
| --- | --- |
| [get(number)](#get-number-)| Gets the [ExternalConnection](../externalconnection/) element at the specified index. |
| [get(string)](#get-string-)| Gets the [ExternalConnection](../externalconnection/) element with the specified name. |
| [getExternalConnectionById(number)](#getExternalConnectionById-number-)| Gets the [ExternalConnection](../externalconnection/) element with the specified id. |
| [getCount()](#getCount--)| <b>@deprecated.</b> Please use the 'count' property instead. Gets the number of elements contained in. |
| [isNull()](#isNull--)| Checks whether the implementation object is null. |

## \[Symbol.iterator\](): Iterator\<ExternalConnection\>

Returns an iterator over the items in the collection. Enables use of `for...of`, spread syntax, and `Array.from()`.



### get(number) {#get-number-}

Gets the [ExternalConnection](../externalconnection/) element at the specified index.

```javascript
get(index: number) : ExternalConnection;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | number | The zero based index of the element. |

**Returns**

The element at the specified index.

### get(string) {#get-string-}

Gets the [ExternalConnection](../externalconnection/) element with the specified name.

```javascript
get(connectionName: string) : ExternalConnection;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| connectionName | string | the name of data connection |

**Returns**

The element with the specified name.

### getExternalConnectionById(number) {#getExternalConnectionById-number-}

Gets the [ExternalConnection](../externalconnection/) element with the specified id.

```javascript
getExternalConnectionById(connId: number) : ExternalConnection;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| connId | number | external connection id |

**Returns**

The element with the specified id.

### getCount() {#getCount--}

<b>@deprecated.</b> Please use the 'count' property instead. Gets the number of elements contained in.

```javascript
getCount() : number;
```


### isNull() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```



