次の方法で共有


CreateiSCSINode method of the CIM_iSCSIConfigurationService class

This method creates an iSCSI Node in the form of an instance of SCSIProtocolController. As part of the creation process a SystemDevice association is created between the new SCSIProtocolController and the scoping Network Entity (CIM_ComputerSystem) hosting this service.

Syntax

uint32 CreateiSCSINode(
  [in]  string                         Alias,
  [out] CIM_SCSIProtocolController REF iSCSINode
);

Parameters

Alias [in]

The iSCSI Alias for the new Node.

iSCSINode [out]

The SCSIProtocolController instance representing the created iSCSI Node.

Return value

Success (0)

Not Supported (1)

Unspecified Error (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

DMTF Reserved (6 4095)

Node Creation Not Supported (4096)

Alias In Use By Other Node (4097)

Method Reserved (4098 32767)

Vendor Specific (32768 65535)

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

CIM_iSCSIConfigurationService