Click or drag to resize
IVssDifferentialSoftwareSnapshotManagementQueryDiffAreasForVolume Method
The QueryDiffAreasForVolume(String) method queries shadow copy storage areas in use by the volume specified.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
IList<VssDiffAreaProperties> QueryDiffAreasForVolume(
	string volumeName
)

Parameters

volumeName
Type: SystemString

Name of the volume that contains shadow copy storage areas.

The name of the volume must be in one of the following formats:

  • The path of a volume mount point with a backslash (\)
  • A drive letter with backslash (\), for example, D:\
  • A unique volume name of the form \\?\Volume{GUID}\ (where GUID is the unique global identifier of the volume) with a backslash (\)

Return Value

Type: IListVssDiffAreaProperties
A list containing VssDiffAreaProperties objects describing the shadow copy storage areas in use by the volume specified.
Exceptions
ExceptionCondition
UnauthorizedAccessExceptionCaller does not have sufficient backup privileges or is not an administrator.
OutOfMemoryExceptionThe caller is out of memory or other system resources.
ArgumentExceptionOne of the parameter values is not valid.
ArgumentNullExceptionOne of the arguments was
SystemExceptionUnexpected error. The error code is logged in the error log file.
VssProviderVetoExceptionExpected provider error. The provider logged the error in the event log.
See Also