| title | IClientVirtualDeviceSet2::GetConfiguration |
|---|---|
| titlesuffix | SQL Server VDI reference |
| description | This article provides reference for the IClientVirtualDeviceSet2::GetConfiguration command. |
| ms.date | 08/30/2019 |
| ms.prod | sql |
| ms.prod_service | backup-restore |
| ms.technology | backup-restore |
| ms.topic | reference |
| author | mashamsft |
| ms.author | mathoma |
[!INCLUDEappliesto-ss-xxxx-xxxx-xxx-md]
The GetConfiguration function is used to wait for the server to configure the virtual device set.
HRESULT IClientVirtualDeviceSet2::GetConfiguration (
DWORD dwTimeOut,
VDConfig* pCfg
);DwTimeOut This is the time-out in milliseconds. Use INFINITE to prevent time-out.
pCfg Upon successful execution, this contains the configuration selected by the server. For more information, see Configuration.
| Return Value | Explanation |
|---|---|
| NOERROR | The configuration was returned. |
| VD_E_ABORT | SignalAbort was invoked. |
| VD_E_TIMEOUT | The function timed out. |
This function blocks in an Alertable state. After successful invocation, the devices in the virtual device set may be opened.
For more information, see the SQL Server virtual device interface reference overview.