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)

'Declaration
Public Enumeration DropOption
'Usage
Dim instance As 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: