Diagnose method of the MSFT_SMFileSystem class
Runs diagnostics on the file system.
Syntax
UInt32 Diagnose(
[in, optional] String username,
[in, optional] String password,
[out] MSFT_SMStorageDiagnoseResult DiagnoseResults[],
[out] MSFT_SMExtendedStatus ExtendedStatus
);
Parameters
-
username [in, optional]
-
Used to authenticate with the SMI-S provider. If not provided, the storage service attempts to obtain these credentials from the configuration provider.
-
password [in, optional]
-
Used to authenticate with the SMI-S provider. If not provided, the storage service attempts to obtain these credentials from the configuration provider.
-
DiagnoseResults [out]
-
An array of MSFT_SMStorageDiagnoseResult objects that contain the results from calling this method.
-
ExtendedStatus [out]
-
An MSFT_SMExtendedStatus object that contains an error code or additional information about the result returned in the DiagnoseResults parameter.
Return value
Returns "0" on success, otherwise returns a WMI error code.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\Storage\SM |
MOF |
|
DLL |
|