IVssExpressWriter::Unregister method

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

Syntax


HRESULT Unregister(
  [in] VSS_ID writerId
);

Parameters

writerId [in]

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

Return value

The following are the valid return codes for this method.

ValueMeaning
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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

VsWriter.h

See also

IVssExpressWriter

 

 

Show: