IOvReqCheck::UseManagementServer
Specify which management server should be used.
HRESULT UseManagementServer([in] BSTR Server);
Parameters
-
- Server
- Name (NetBIOS) of the management server to use.
Returning Parameter
None.
HRESULT Return Values
If not ovrcNoError, IErrorInfo is created, and a detailed error
description is traced.
-
- ovrcNoError
- Method executed successfully.
- ovrcErrCannotOpenFile
- Prerequisite check configuration file cannot be accessed.
- ovrcErrCannotReadFile
- Prerequisite check configuration file cannot be read.
- ovrcErrCannotCloseFile
- Prerequisite check configuration file cannot be closed.
- ovrcErrConfigFileSyntax
- Syntax of the prerequisite check configuration file is not
valid.
- (other FAILED)
- Another type of error occurred.
Description
The UseManagementServer method must be called before any other
method provided by IOvReqCheck interface. This method sets the
management server that should be used.
NOTE:
The console can connect to a different management server. As a
result, it is necessary to specify which management server should
be used.