|VssBadStateException||The 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.