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
Expand Minimize

DropOption Enumeration

Specifies whether to leave or delete the database when dropping a subscription using the DropSubscription method.

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

public enum class DropOption

Member nameDescription
LeaveDatabaseDeletes the replication system tables and all replication system columns in the user tables when you drop a subscription using the DropSubscription method, but does not delete the SQL Server Compact database.
DropDatabaseDeletes the SQL Server Compact database when you drop a subscription using the DropSubscription method.
UnregisterSubscriptionUnregisters the SQL Server Compact database from a subscription. 

Note   UnregisterSubscription resembles LeaveDatabase. The only difference is that LeaveDatabase drops constraints and UnregisterSubscription does not.

Show:
© 2015 Microsoft