HomeGroupManager.Dispose Method (Boolean)

[HomeGroupManager.Dispose(Boolean) is no longer available for use as of Windows Server 2012 Essentials.] Releases the unmanaged resources that are used by the HomeGroupManager object and optionally releases the managed resources.

Namespace: Microsoft.WindowsServerSolutions.HomeGroup
Assembly: WSSHomeGroupObjectModel (in WSSHomeGroupObjectModel.dll)

Usage

'Usage
Dim disposing As Boolean

Me.Dispose(disposing)

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
protected virtual void Dispose (
    bool disposing
)
protected:
virtual void Dispose (
    bool disposing
)
protected void Dispose (
    boolean disposing
)
protected function Dispose (
    disposing : boolean
)

Parameters

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64

See Also

Reference

HomeGroupManager Class
HomeGroupManager Members
Microsoft.WindowsServerSolutions.HomeGroup Namespace

Copyright © 2012 by Microsoft Corporation. All rights reserved.