# ContactCompanyTable::rebindAllContacts()

URL: https://chugunov.pro/api-bitrix/crm/binding/contactcompanytable/rebindallcontacts/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс: [`\Bitrix\Crm\Binding\ContactCompanyTable`](https://chugunov.pro/api-bitrix/crm/binding/contactcompanytable/)
Модуль: Crm.
Свойства элемента: method, public, static.

## Сигнатура

```php
public static rebindAllContacts(int $seedCompanyID, int $targCompanyID) : mixed
```

## Описание

Отвязывает все контакты от исходной компании и привязывает их к целевой компании

## Параметры

- `$seedCompanyID` `int` — обязательный. Идентификатор исходной компании.
- `$targCompanyID` `int` — обязательный. Идентификатор целевой компании.

## Возвращаемое значение

`mixed`

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-Crm-Binding-ContactCompanyTable.html
