IVdsService::GetProperties (Opnum 5)

The GetProperties method retrieves the properties of the service that is represented by the object that exposes this interface and method.

 HRESULT GetProperties(
   [out] VDS_SERVICE_PROP* pServiceProp

pServiceProp: A pointer to a VDS_SERVICE_PROP structure that, if the operation is successfully completed, receives the properties of the service.

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 pServiceProp is not NULL.

The server MUST populate the VDS_SERVICE_PROP structure that pServiceProp references with the properties of the server and return an HRESULT that indicates failure or success.