DbSyncBatchInfo.Dispose Method (Boolean)
Releases the unmanaged resources used by the DbSyncBatchInfo and optionally releases the managed resources.
This method is not CLS-compliant.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.MSInternal", "CA908:AvoidTypesThatRequireJitCompilationInPrecompiledAssemblies")> _
Protected Overridable Sub Dispose ( _
cleanup As Boolean _
)
'Usage
Dim cleanup As Boolean
Me.Dispose(cleanup)
[SuppressMessageAttribute("Microsoft.MSInternal", "CA908:AvoidTypesThatRequireJitCompilationInPrecompiledAssemblies")]
protected virtual void Dispose (
bool cleanup
)
[SuppressMessageAttribute(L"Microsoft.MSInternal", L"CA908:AvoidTypesThatRequireJitCompilationInPrecompiledAssemblies")]
protected:
virtual void Dispose (
bool cleanup
)
/** @attribute SuppressMessageAttribute("Microsoft.MSInternal", "CA908:AvoidTypesThatRequireJitCompilationInPrecompiledAssemblies") */
protected void Dispose (
boolean cleanup
)
SuppressMessageAttribute("Microsoft.MSInternal", "CA908:AvoidTypesThatRequireJitCompilationInPrecompiledAssemblies")
protected function Dispose (
cleanup : boolean
)
Parameters
- cleanup
true to release both managed and unmanaged resources; false to release only unmanaged resources.
See Also
Reference
DbSyncBatchInfo Class
DbSyncBatchInfo Members
Microsoft.Synchronization.Data Namespace