The ActivateSubscriptions method executes the system stored procedure sp_refreshsubscriptions, targeting the transactional or snapshot replication publication referenced by the SQL-DMO object.
object.ActivateSubscriptions
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
HRESULT ActivateSubscriptions();