Click or drag to resize

IVssBackupComponentsDisableWriterClasses Method

This method prevents a specific class of writers from receiving any events.

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
void DisableWriterClasses(
	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.
ArgumentExceptionOne of the parameters is not valid.
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.
See Also