次の方法で共有


CloseConformantInstances method of the MSFTSM_RegisteredProfile class

Closes an enumeration session that is opened by the OpenConformantInstances method.

This method is inherited from the CIM_RegisteredProfile class.

Syntax

uint32 CloseConformantInstances(
  [in] string EnumerationContext
);

Parameters

EnumerationContext [in]

Specifies the enumeration context value that identifies the enumeration session to be closed.

Return value

Returns zero on success; otherwise, returns an error.

Requirements

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

See also

MSFTSM_RegisteredProfile