Share via


TransPublication.ReinitializeAllSubscriptions Method

Definition

Marks all subscriptions to the publication for reinitialization.

Overloads

ReinitializeAllSubscriptions()

Marks all subscriptions to the publication for reinitialization.

ReinitializeAllSubscriptions(Boolean)

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

ReinitializeAllSubscriptions()

Marks all subscriptions to the publication for reinitialization.

public:
 void ReinitializeAllSubscriptions();
public void ReinitializeAllSubscriptions ();
member this.ReinitializeAllSubscriptions : unit -> unit
Public Sub ReinitializeAllSubscriptions ()

Remarks

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.

Applies to

ReinitializeAllSubscriptions(Boolean)

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

public:
 void ReinitializeAllSubscriptions(bool invalidateSnapshot);
public void ReinitializeAllSubscriptions (bool invalidateSnapshot);
member this.ReinitializeAllSubscriptions : bool -> unit
Public Sub ReinitializeAllSubscriptions (invalidateSnapshot As Boolean)

Parameters

invalidateSnapshot
Boolean

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

Remarks

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.

Applies to