Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Enumeration DropOption
'Usage
Dim instance As DropOption
public enum DropOption
public enum class DropOption
type DropOption
public enum DropOption
Members
Member name | Description | |
---|---|---|
LeaveDatabase | Deletes 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. | |
DropDatabase | Deletes the SQL Server Compact database when you drop a subscription using the DropSubscription method. | |
UnregisterSubscription | Unregisters the SQL Server Compact database from a subscription.
Note UnregisterSubscription resembles LeaveDatabase. The only difference is that LeaveDatabase drops constraints and UnregisterSubscription does not. |