Click or drag to resize
IVssBackupComponentsBreakSnapshotSet Method (Guid)
The BreakSnapshotSet method causes the existence of a shadow copy set to be "forgotten" by VSS.

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

Parameters

snapshotSetId
Type: SystemGuid
Shadow copy set identifier.
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.
VssProviderVetoExceptionThe shadow copy was created by a software provider and cannot be broken.
VssObjectNotFoundExceptionThe specified shadow copy does not exist.
Remarks
BreakSnapshotSet can be used only for shadow copies created by a hardware shadow copy provider. This method makes these shadow copies regular volumes.
See Also