3.4.5.2.12.1 IVdsIscsiInitiatorAdapter::GetProperties (Opnum 3)

The GetProperties method retrieves the properties of the initiator adapter that is represented by the object exposing this interface and method.

 HRESULT GetProperties(
   [out] VDS_ISCSI_INITIATOR_ADAPTER_PROP* pInitiatorAdapterProp
 );

pInitiatorAdapterProp: A pointer to a VDS_ISCSI_INITIATOR_ADAPTER_PROP structure that, if the operation is successfully completed, receives the properties of the initiator adapter.

Return Values: The method MUST return zero or a non-error HRESULT (as specified in [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service Remote Protocol, see section 2.2.3.

When the server receives this message, it MUST validate the following parameter:

  • Verify that pInitiatorAdapterProp is not NULL.

The server MUST populate the VDS_ISCSI_INITIATOR_ADAPTER_PROP structure that pInitiatorAdapterProp references with the properties of the iSCSI initiator adapter and return an HRESULT indicating failure or success. For information on the VDS_ISCSI_INITIATOR_ADAPTER_PROP structure, see section 2.2.2.5.1.1.