sp_changedistributor_property (Transact-SQL)
Collapse the table of content
Expand the table of content

sp_changedistributor_property (Transact-SQL)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Changes the properties of the Distributor. This stored procedure is executed at the Distributor on any database.

Topic link icon 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.




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.

-- Change the heartbeat interval at the Distributor to 5 minutes. 
USE master 
exec sp_changedistributor_property 
    @property = N'heartbeat_interval', 
    @value = 5;

Only members of the sysadmin fixed server role can execute sp_changedistributor_property.

Community Additions

© 2016 Microsoft