Sdílet prostřednictvím


SqlCeReplication.DropSubscription Method

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Drops the subscription to a SQL Server publication and optionally deletes the SQL Server Compact database from the Windows Mobile-based device.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Sub DropSubscription ( _
    dropOption As DropOption _
)
'Usage
Dim instance As SqlCeReplication
Dim dropOption As DropOption

instance.DropSubscription(dropOption)
public void DropSubscription(
    DropOption dropOption
)
public:
void DropSubscription(
    DropOption dropOption
)
member DropSubscription : 
        dropOption:DropOption -> unit 
public function DropSubscription(
    dropOption : DropOption
)

Parameters

See Also

Reference

SqlCeReplication Class

System.Data.SqlServerCe Namespace