IVssExpressWriter::Unregister method (vswriter.h)

Causes VSS to delete the writer's metadata from the express writer metadata store.

Syntax

HRESULT Unregister(
  [in] VSS_ID writerId
);

Parameters

[in] writerId

The globally unique identifier (GUID) of the writer class.

Return value

The following are the valid return codes for this method.

Value Meaning
S_OK
0x00000000L
The operation was successful.
VSS_E_OBJECT_NOT_FOUND
0x80042308L
The writerId parameter specified a writer that does not exist.

Remarks

Before using this method, the caller must have used the CreateMetadata method to create a writer metadata object.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header vswriter.h

See also

IVssExpressWriter