Drive.GetCheckDiskRequest Method (Boolean)
Returns an object that is used to run the check disk operation on the drive.
Namespace: Microsoft.WindowsServerSolutions.Storage
Assembly: StorageOM (in StorageOM.dll)
Syntax
public CheckDiskRequest GetCheckDiskRequest(
bool scanOnly
)
public:
CheckDiskRequest^ GetCheckDiskRequest(
bool scanOnly
)
Public Function GetCheckDiskRequest (
scanOnly As Boolean
) As CheckDiskRequest
Parameters
scanOnly
Type: System.Booleantrue if you want to scan without performing a repair; otherwise, false.
Return Value
Type: Microsoft.WindowsServerSolutions.Storage.CheckDiskRequest
An instance of CheckDiskRequest.
See Also
Drive Class
Microsoft.WindowsServerSolutions.Storage Namespace
Return to top