Click or drag to resize
IVssBackupComponentsImportSnapshots Method
The ImportSnapshots method imports shadow copies transported from a different machine.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: (
void ImportSnapshots()
UnauthorizedAccessExceptionThe caller does not have sufficient backup privileges or is not an administrator.
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.

Only one shadow copy can be imported at a time.

The requester is responsible for serializing the import shadow copy operation.

For more information see the MSDN documentation on IIVssBackupComponents::ImportSnapshots Method

Requires Windows Server 2008, Windows Server 2003 SP1, Windows Server 2003, Enterprise Edition, or Windows Server 2003, Datacenter Edition.

See Also