다음을 통해 공유


TransPublication.ReinitializeAllSubscriptions 메서드

Marks all subscriptions to the publication for reinitialization.

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

구문

‘선언
Public Sub ReinitializeAllSubscriptions
‘사용 방법
Dim instance As TransPublication

instance.ReinitializeAllSubscriptions()
public void ReinitializeAllSubscriptions()
public:
void ReinitializeAllSubscriptions()
member ReinitializeAllSubscriptions : unit -> unit
public function ReinitializeAllSubscriptions()

주의

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.

참고 항목

참조

TransPublication 클래스

ReinitializeAllSubscriptions 오버로드

Microsoft.SqlServer.Replication 네임스페이스