Click or drag to resize

IVssImplementationCreateVssBackupComponents Method

The CreateVssBackupComponents method creates an IVssBackupComponents interface object for the current implementation and returns a reference to it.

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
IVssBackupComponents CreateVssBackupComponents()

Return Value

Type: IVssBackupComponents
A reference to the newly created IVssBackupComponents instance.
Exceptions
ExceptionCondition
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.
Remarks
The calling application is responsible for calling Dispose" to release the resources held by the IVssBackupComponents instance when it is no longer needed.
See Also