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 a Distribution Agent job that runs at a Microsoft SQL Server 2005 or later version Distributor. This stored procedure is used to change properties when the Publisher runs on an instance of SQL Server 2000. This stored procedure is executed at the Distributor on the distribution database.
Is the name of the Publisher. publisher is sysname, with no default.
[ @publisher_db= ] 'publisher_db'
Is the name of the publication database. publisher_db is sysname, with no default.
[ @publication = ] 'publication'
Is the name of the publication. publication is sysname, with no default.
[ @subscriber= ] 'subscriber'
Is the name of the Subscriber. subscriber is sysname, with no default.
[ @subscriber_db= ] 'subscriber_db'
Is the name of the subscription database. subscriber_db is sysname, with no default.
[ @property = ] 'property'
Is the publication property to change. property is sysname, with no default.
[ @value = ] 'value'
Is the new property value. value is nvarchar(524), with a default of NULL.
This table describes the properties of the Distribution Agent job that can be changed, and restrictions on the values for those properties.
Login for the Microsoft Windows account under which the agent runs.
Password for the Windows account under which the agent job runs.
Catalog to be used when making a connection to the OLE DB provider. This property is only valid for non-SQL Server Subscribers.
Name of the data source as understood by the OLE DB provider. This property is only valid for non-SQL Server Subscribers.
Location of the database as understood by the OLE DB provider. This property is only valid for non-SQL Server Subscribers.
Login to use when connecting to a Subscriber to synchronize the subscription.
Do not use a blank password. Use a strong password.
Unique programmatic identifier (PROGID) with which the OLE DB provider for the non-SQL Server data source is registered. This property is only valid for non-SQL Server Subscribers.
OLE DB provider-specific connection string that identifies the data source. This property is only valid for non-SQL Server Subscribers.
When possible, use Windows Authentication.
SQL Server Authentication.
SQL Server Subscriber
ODBC data source server
OLE DB provider
Denotes the number of connections allowed per Distribution Agent to apply batches of changes in parallel to a Subscriber. Not supported for non-SQL Server Subscribers, Oracle Publishers, or peer-to-peer subscriptions.
After changing an agent login or password, you must stop and restart the agent before the change takes effect.
sp_MSchange_distribution_agent_properties is used in snapshot replication and transactional replication.
When the Publisher runs on an instance of SQL Server 2005 or later version, you should use sp_changesubscription to change properties of a Merge Agent job that synchronizes a push subscription that runs at the Distributor.