| Previous | Next |
| VDS_S_STATUSES_INCOMPLETELY_SET | VDS_S_PROPERTIES_INCOMPLETE |
VDS_S_ALREADY_EXISTS
VDS_S_ALREADY_EXISTS is an idempotent success result. VDS found that the requested object, association or configuration already exists, so it did not create a duplicate. The existing object should be queried and validated before the caller assumes it matches every requested property.
Treat create-or-add operations as idempotent
- Enumerate or retrieve the existing object by its VDS identifier.
- Compare relevant properties instead of assuming an existing object has the desired configuration.
- Avoid retry loops that repeatedly issue the same creation call after this status.
This status differs from VDS_E_OBJECT_EXISTS, which is a failure in an operation that requires absence or uniqueness. Code should test the HRESULT class and preserve the distinction. When a workflow can safely reuse the existing object, continue with read-back validation; otherwise report a configuration conflict rather than pretending a new resource was created.
VDS service · Virtual Disk Service · VDS replacement notice
Looking for a different code? Search another status or error code.