Click or drag to resize
IVssBackupComponentsStartSnapshotSet Method
Creates a new, empty shadow copy set.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
Guid StartSnapshotSet()

Return Value

Type: Guid
Shadow copy set identifier.
Exceptions
ExceptionCondition
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.
VssSnapshotSetInProgressExceptionThe creation of a shadow copy is in progress, and only one shadow copy creation operation can be in progress at one time. Either wait to try again or return with a failure error code.
Remarks
This method must be called before PrepareForBackup during backup operations.
See Also