IVssAdmin::UnregisterProvider method (vsadmin.h)
The UnregisterProvider method unregisters an existing provider.
Syntax
HRESULT UnregisterProvider(
[in] VSS_ID ProviderId
);
Parameters
[in] ProviderId
The VSS_ID of the provider.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The provider was unregistered successfully. |
|
The provider is in use. |
|
The provider is not registered. |
|
Out of memory or other system resources. |
|
Unexpected error. The error code is logged in the error log file. For more information, see
Event and Error Handling Under VSS.
Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported until Windows Server 2008 R2 and Windows 7. E_UNEXPECTED is used instead. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | vsadmin.h |