void EnableWriterClasses( params Guid writerClassIds )
Sub EnableWriterClasses ( ParamArray writerClassIds As Guid() )
void EnableWriterClasses( ... array<Guid>^ writerClassIds )
|UnauthorizedAccessException||The caller does not have sufficient backup privileges or is not an administrator.|
|OutOfMemoryException||Out of memory or other system resources.|
|SystemException||Unexpected VSS system error. The error code is logged in the event log.|
|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.|
Once this method is called, only enabled writer classes are subsequently called.
DisableWriterClasses(Guid) must be called prior to GatherWriterMetadata. To obtain information about the writers currently running on the system, it may be necessary to call GatherWriterMetadata from another instance of the IVssBackupComponents class.
After GatherWriterMetadata is called, these calls have no effect.