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 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft