DisableComputerRestoreCommand.Dispose Method (Boolean)
Represents the implementation of the Dispose(Boolean) method of the Disable-ComputerRestore cmdlet. This method is introduced in Windows PowerShell 2.0.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)
Usage
'Usage
Dim instance As DisableComputerRestoreCommand
Dim disposing As Boolean
instance.Dispose(disposing)
Syntax
'Declaration
Public Sub Dispose ( _
disposing As Boolean _
)
public void Dispose (
bool disposing
)
public:
void Dispose (
bool disposing
)
public void Dispose (
boolean disposing
)
public function Dispose (
disposing : boolean
)
Parameters
- disposing
True releases all resources used by the cmdlet.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Disable-ComputerRestore in the Microsoft TechNet library.
For Help at the command line, type:
get-help disable-computerrestore
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
Target Platforms
See Also
Reference
DisableComputerRestoreCommand Class
DisableComputerRestoreCommand Members
Microsoft.PowerShell.Commands Namespace