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
public enum DropOption
public enum DropOption

Member nameDescription
DropDatabaseDeletes the SQL Server Compact 3.5 SP1 database when you drop a subscription using the DropSubscription method.
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 3.5 SP1 database.
UnregisterSubscriptionUnregisters the SQL Server Compact 3.5 SP1 database from a subscription.

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

Show:
© 2015 Microsoft