Click or drag to resize
IVssBackupComponentsBeginImportSnapshots Method
The BeginImportSnapshots(AsyncCallback, Object) method asynchronously imports shadow copies transported from a different machine.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: (
IVssAsyncResult BeginImportSnapshots(
	AsyncCallback userCallback,
	Object state


Type: SystemAsyncCallback
An optional asynchronous callback, to be called when the read is complete.
Type: SystemObject
A user-provided object that distinguishes this particular asynchronous read request from other requests.

Return Value

Type: IVssAsyncResult
An IVssAsyncResult instance that represents this asynchronous operation.

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.

Pass the IVssAsyncResult value returned to the EndImportSnapshots(IAsyncResult) method to release operating system resources used for this asynchronous operation. EndImportSnapshots(IAsyncResult) must be called once for every call to BeginImportSnapshots(AsyncCallback, Object). You can do this either by using the same code that called BeginImportSnapshots or in a callback passed to BeginImportSnapshots.

See Also