SqlCeReplication.AddSubscription Method

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.
[SECURITY CRITICAL]

Creates a new anonymous subscription to an existing SQL Server publication. After calling the AddSubscription method, the application must call the Synchronize method to synchronize the new subscription to the publication based on the latest snapshot.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public void AddSubscription(
	AddOption addOption
)

Parameters

addOption
Type: System.Data.SqlServerCe.AddOption
Show: