BindiSCSIProtocolEndPoint method of the CIM_iSCSIConfigurationService class
This method provides for modification of an existing iSCSIProtocolEndpoint by associating a TCPProtocolEndpoint representing an Target NetworkPortal or an IPProtocolEndpoint instance representing an Initiator NetworkPortal to the iSCSIProtocolEndpoint. The association is persisted as an instance of BindsTo. The selected Portal endpoint must be from the same SystemSpecificCollection, which represents a Portal Group, as the endpoints currently bound to the iSCSIProtocolEndpoint. This action is intended to be reversed by the use of the intrinsic method 'DeleteInstance'.
Syntax
uint32 BindiSCSIProtocolEndPoint(
[in] CIM_iSCSIProtocolEndpoint REF iSCSIPort,
[in] CIM_ProtocolEndpoint REF NetworkPortal
);
Parameters
-
iSCSIPort [in]
-
A reference to the iSCSIProtocolEndpoint.
-
NetworkPortal [in]
-
The ProtocolEndpoint instance. If an iSCSI Initiator Port is being modified this will be an IPProtocolEndpoint. If an iSCSI Target Port is being modified this will be a TCPProtocolEndpoint.
Return value
-
Success (0)
-
Not Supported (1)
-
Unspecified Error (2)
-
Timeout (3)
-
Failed (4)
-
Invalid Parameter (5)
-
DMTF Reserved (6 4095)
-
ProtocolEndpoint Non-Existent (4096)
-
TCPProtocolEndpoint Not Bound To Underlying IPProtocolEndpoint (4097)
-
ProtocolEndpoint In Use By Other iSCSIProtocolEndpoint In Same Target SCSIProtocolController (4098)
-
ProtocolEndpoint Not From Same Endpoint Collection (4099)
-
Method Reserved (4100 32767)
-
Vendor Specific (32768 65535)
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\CIMv2\Storage\iScsiTarget |
MOF |
|
DLL |
|