Click or drag to resize
IVssBackupComponentsGatherWriterStatus Method
The GatherWriterStatus method prompts each writer to send a status message.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
void GatherWriterStatus()
Exceptions
ExceptionCondition
UnauthorizedAccessExceptionThe caller does not have sufficient backup privileges or is not an administrator.
OutOfMemoryExceptionOut of memory or other system resources.
SystemExceptionUnexpected VSS system error. The error code is logged in the event log.
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.
VssWriterInfrastructureExceptionThe writer infrastructure is not operating properly. Check that the Event Service and VSS have been started, and check for errors associated with those services in the error log.
Remarks
The caller of this method should also call FreeWriterStatus after receiving the status of each writer.
See Also