IVssExpressWriter::Register method (vswriter.h)

Causes VSS to store the writer's metadata in the express writer metadata store.

Syntax

HRESULT Register();

Return value

The following are the valid return codes for this method.

Value Meaning
S_OK
0x00000000L
The operation was successful.
VSS_E_OBJECT_ALREADY_EXISTS
0x8004230DL
Metadata has already been stored for this writer.

Remarks

Before using this method, the caller must have either used the LoadMetadata method to load the writer's metadata directly or 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