Udostępnij za pośrednictwem


DataSetSurrogate.Dispose Method (Boolean)

Releases the unmanaged resources used by the DataSetSurrogate 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
)
protected void Dispose (
    boolean cleanup
)
protected function Dispose (
    cleanup : boolean
)

Parameters

  • cleanup
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

DataSetSurrogate Class
DataSetSurrogate Members
Microsoft.Synchronization.Data Namespace