CreateiSCSINode method of the MSISCSITARGET_iSCSIConfigurationService class

Creates a CIM_SCSIProtocolController instance that represents an iSCSI node. This method also creates a CIM_SystemDevice instance that associates the new SCSI Protocol Controller (SPC) to the CIM_ComputerSystem instance that represents the hosting network entity.

This method overrides the method that is inherited from the CIM_iSCSIConfigurationService class.

Syntax

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

Parameters

Alias [in]

Specifies the ElementName property of the new node. The maximum length is 128 characters.

iSCSINode [out]

On return, contains the CIM_SCSIProtocolController instance that represents the new iSCSI node.

Return value

This method returns one of the following values.

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

MSISCSITARGET_iSCSIConfigurationService