Share via


DataTableSurrogate.Dispose Method (Boolean)

Releases the unmanaged resources used by the DataTableSurrogate and optionally releases the managed resources.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
    cleanup As Boolean _
)
'Usage
Dim cleanup As Boolean

Me.Dispose(cleanup)
protected virtual void Dispose(
    bool cleanup
)
protected:
virtual void Dispose(
    bool cleanup
)
abstract Dispose : 
        cleanup:bool -> unit 
override Dispose : 
        cleanup:bool -> unit 
protected function Dispose(
    cleanup : boolean
)

Parameters

  • cleanup
    Type: System.Boolean
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

DataTableSurrogate Class

Dispose Overload

Microsoft.Synchronization.Data Namespace