Click or drag to resize

IVssBackupComponentsGetSnapshotProperties Method

The GetSnapshotProperties(Guid) method gets the properties of the specified shadow copy.

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: (
VssSnapshotProperties GetSnapshotProperties(
	Guid snapshotId


Type: SystemGuid
The identifier of the shadow copy of a volume as returned by AddToSnapshotSet(String, Guid).

Return Value

Type: VssSnapshotProperties
A VssSnapshotProperties instance containing the shadow copy properties.
UnauthorizedAccessExceptionThe caller does not have sufficient backup privileges or is not an administrator.
ArgumentExceptionOne of the parameter values 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.
VssObjectNotFoundExceptionThe specified shadow copy does not exist.
VssProviderVetoExceptionExpected provider error. The provider logged the error in the event log.
VssUnexpectedProviderErrorExceptionUnexpected provider error. The error code is logged in the error log.
See Also