Click or drag to resize
IVssBackupComponentsEnableWriterClasses Method
The EnableWriterClasses method enables the specified writers to receive all events.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
void EnableWriterClasses(
	params Guid[] writerClassIds
)

Parameters

writerClassIds
Type: SystemGuid
An array containing one or more writer class identifiers.
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.
Remarks
See Also