Share via


SqlCeClientSyncProvider.Dispose Method (Boolean)

Releases the unmanaged resources that are used by the SqlCeClientSyncProvider and optionally releases the managed resources.

Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in microsoft.synchronization.data.sqlserverce.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Reliability", "CA2004:RemoveCallsToGCKeepAlive")> _
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
'Usage
Dim disposing As Boolean

Me.Dispose(disposing)
[SuppressMessageAttribute("Microsoft.Reliability", "CA2004:RemoveCallsToGCKeepAlive")] 
protected virtual void Dispose (
    bool disposing
)
[SuppressMessageAttribute(L"Microsoft.Reliability", L"CA2004:RemoveCallsToGCKeepAlive")] 
protected:
virtual void Dispose (
    bool disposing
)
/** @attribute SuppressMessageAttribute("Microsoft.Reliability", "CA2004:RemoveCallsToGCKeepAlive") */ 
protected void Dispose (
    boolean disposing
)
SuppressMessageAttribute("Microsoft.Reliability", "CA2004:RemoveCallsToGCKeepAlive") 
protected function Dispose (
    disposing : boolean
)

Parameters

  • disposing
    True to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

SqlCeClientSyncProvider Class
SqlCeClientSyncProvider Members
Microsoft.Synchronization.Data.SqlServerCe Namespace