Click or drag to resize
IVssBackupComponentsFreeWriterMetadata Method
The FreeWriterMetadata method frees system resources allocated when GatherWriterMetadata was called.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: (
void FreeWriterMetadata()
VssBadStateExceptionThe backup components object is not initialized, this method has been called during a restore operation, or this method has not been called within the correct sequence.

This method should never be called prior to the completion of GatherWriterMetadata. The result of calling the method prior to completion of the metadata gather is undefined.

Once writer metadata has been freed, it cannot be recovered by the current instance of the IVssBackupComponents class. It will be necessary to create a new instance of IVssBackupComponents, and call the GatherWriterMetadata method again.

See Also