| title | sp_changedistributor_property (Transact-SQL) | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 03/06/2017 | ||
| ms.prod | sql-server-2016 | ||
| ms.reviewer | |||
| ms.suite | |||
| ms.technology |
|
||
| ms.tgt_pltfrm | |||
| ms.topic | language-reference | ||
| applies_to |
|
||
| f1_keywords |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | 04f503a1-307c-4de0-bac6-e6e97d5b6940 | ||
| caps.latest.revision | 17 | ||
| author | BYHAM | ||
| ms.author | rickbyh | ||
| manager | jhubbard |
[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx_md]
Changes the properties of the Distributor. This stored procedure is executed at the Distributor on any database.
Transact-SQL Syntax Conventions
sp_changedistributor_property [ [ @property= ] 'property' ]
[ , [ @value= ] 'value' ]
[ @property=] 'property'
Is the property for a given Distributor. property is sysname, and can be one of these values.
| Value | Description |
|---|---|
| heartbeat_interval | Maximum number of minutes that an agent can run without logging a progress message. |
| NULL (default) | All available property values are printed. |
[ @value=] 'value'
Is the value for the given Distributor property. value is varchar(255), with a default of NULL.
0 (success) or 1 (failure)
sp_changedistributor_property is used in all types of replication.
[!code-sqlHowTo#sp_changedistributor_property]
Only members of the sysadmin fixed server role can execute sp_changedistributor_property.
View and Modify Distributor and Publisher Properties
sp_adddistributor (Transact-SQL)
sp_dropdistributor (Transact-SQL)
sp_helpdistributor (Transact-SQL)
Replication Stored Procedures (Transact-SQL)