# DataConnections.refreshAll Method

> DataConnections.refreshAll method in the TX Sheet Control TypeScript API for the browser: Refreshes all bindings independently.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > DataConnections > DataConnections.refreshAll Method
- **480 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dataconnections/refreshall-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dataconnections/refreshall-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dataconnections/refreshall-method/llms-full.txt

---

Refreshes all bindings independently; one rejected source does not prevent the others from updating.

Owner: [DataConnections](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dataconnections/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

### Syntax

```typescript
refreshAll(options?: DataRefreshOptions): Promise<PromiseSettledResult<DataSnapshot>[]>
```

### Parameters

| Parameter | Type | Optional | Description |
|---|---|---|---|
| `options` | `DataRefreshOptions \| undefined` | Yes | Supported settings for this operation; omitted settings retain documented defaults. |

### Return Value

`Promise<PromiseSettledResult<DataSnapshot>[]>`.

### Examples

Pass an existing DataConnections from the owning document. Related handles and input bytes must belong to the intended document and application; the function applies the operation and inspects its result.

```typescript
import type { DataConnections } from '@txtextcontrol/tx-sheet-control';

async function applyDataConnectionsRefreshAll(dataConnections: DataConnections) {
    const result = await dataConnections['refreshAll']();
    console.log(result);
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [DataConnections Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dataconnections/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)
- [DataSnapshot Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datasnapshot/llms-full.txt)
- [DataRefreshOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datarefreshoptions/llms-full.txt)

---

## Nearby

- **Previous:** [DataConnections.refresh Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dataconnections/refresh-method/llms-full.txt)
- **Next:** [DataConnections.register Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dataconnections/register-method/llms-full.txt)
