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)

Syntax

'Declaration
Public Enumeration DropOption
public enum DropOption
public enum class DropOption
public enum DropOption
public enum DropOption

Members

Member name Description
DropDatabase Deletes the SQL Server Compact 3.5 SP1 database when you drop a subscription using the DropSubscription method.
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 3.5 SP1 database.
UnregisterSubscription Unregisters the SQL Server Compact 3.5 SP1 database from a subscription.

Platforms

Development Platforms

Windows Vista, Windows Mobile 5.0, Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Mobile 2003 for Pocket PC, Windows CE 5.0
Version Information
.NET Framework and NET Compact Framework
Supported in 3.5
.NET Framework
Supported in 3.0
.NET Compact Framework and .Net Framework
Supported in 2.0

See Also

Reference

System.Data.SqlServerCe Namespace