共用方式為


RestoreProperties method of the CIM_LogicalPort class

Restores a previous configuration and state of the logical device.

This method is inherited from CIM_LogicalDevice.

Syntax

uint32 RestoreProperties();

Parameters

This method has no parameters.

Return value

The possible return values are.

0

The operation completed successfully.

1

The operation was not completed because it is not supported.

2 = value

The operation was not completed because an error occurred.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_LogicalPort