Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TransPublication.ReinitializeAllSubscriptions Method (Boolean)

Marks all subscriptions to the publication for reinitialization, with the option to invalidate an existing snapshot.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public void ReinitializeAllSubscriptions(
	bool invalidateSnapshot


Type: Boolean
Specifies whether an existing snapshot should be invalidated and re-created before subscriptions are reinitialized.

The ReinitializeAllSubscriptions method can only be called by members of the sysadmin fixed server role at the Publisher, by members of the db_owner fixed database role on the publication database, or by a user that created a subscription.

Calling ReinitializeAllSubscriptions is equivalent to executing sp_reinitsubscription.

Community Additions

© 2015 Microsoft