TransPublication.ReinitializeAllSubscriptions 메서드 (Boolean)

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public void ReinitializeAllSubscriptions(
	bool invalidateSnapshot

매개 변수

유형: System.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.

커뮤니티 추가 항목