GetCurrentWwpnFromGenerator method of the Msvm_VirtualSystemManagementService class
Provides the ability to preview the current World Wide Port Name (WWPN) without the WWPN being reserved. The WWPN is generated from within the pre-configured range defined by the MinimumWWPNAddress and MaximumWWPNAddress properties of the Msvm_VirtualSystemManagementServiceSettingData class. If the range as defined by these properties is exhausted, then the generated WWPN will have the invalid entry of "0000000000000000" and the return value will indicate success (0).
- CurrentWwpn [out]
A string which will have the value of the current WWPN as used by the WWPN Generator. This will be the same value that will be the first WWPN generated by the subsequent call to GenerateWwpn. It will be formatted in string form as "01:23:45:67:89:ab:cd:ef".
This method returns one of the following values.
- Completed with No Error (0)
- Failed (32768)
- Access Denied (32769)
- Not Supported (32770)
- Status is unknown (32771)
- Timeout (32772)
- Invalid parameter (32773)
- System is in use (32774)
- Invalid state for this operation (32775)
- Incorrect data type (32776)
- System is not available (32777)
- Out of memory (32778)
Minimum supported client
|Windows 8 [desktop apps only]|
Minimum supported server
|Windows Server 2012 [desktop apps only]|