---
jsApi: true
title: "[F] setSharedRoute"

---
```ts
setSharedRoute(program, operation): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `operation` | `Operation` |

## Returns

`void`
