Share via


ActivateSubscriptions Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The ActivateSubscriptions method executes the system stored procedure sp_refreshsubscriptions, targeting the transactional or snapshot replication publication referenced by the SQL Distributed Management Objects (SQL-DMO) object.

Syntax

object.ActivateSubscriptions

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT ActivateSubscriptions();