MSFT_InitiatorPort 类的 SetNodeAddress 方法
通过将 IQN 作为节点地址字符串传递来设置 iSCSI 发起程序端口的节点地址。
语法
UInt32 SetNodeAddress(
[in] String NodeAddress,
[out] String ExtendedStatus
);
参数
NodeAddress [in]
节点地址。 此参数是必需的。
ExtendedStatus [out]
包含嵌入 MSFT_StorageExtendedStatus 对象的字符串。
此参数允许存储提供程序返回特定于实现的扩展 () 错误信息。
返回值
成功 (0)
不支持 (1)
未指定的错误 (2)
超时 (3)
失败 (4)
参数 (5) 无效
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows 8 [仅限桌面应用] |
最低受支持的服务器 | Windows Server 2012 [仅限桌面应用] |
命名空间 | Root\Microsoft\Windows\Storage |
MOF | Storagewmi.mof |