Partager via


RestoreProperties method of the MSFTSMNET_EthernetPort class

Requests that the device return its configuration, setup, and/or state information to a previous state from a backing store. Typically this information is stored by using the SaveProperties method.

This method is inherited from the CIM_LogicalDevice class.

Syntax

uint32 RestoreProperties();

Parameters

This method has no parameters.

Return value

0

Success.

1

The request is not supported.

2 = value

Undefined error.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\CIMv2\Storage\iScsiTarget
MOF
SmIscsiTarget.mof
DLL
SmIScsiTargetProv.dll

See also

MSFTSMNET_EthernetPort

SaveProperties