IVssDifferentialSoftwareSnapshotMgmt3 interface (vsmgmt.h)
Defines methods that allow applications to use the shadow copy protection feature of VSS.
To obtain an instance of the IVssDifferentialSoftwareSnapshotMgmt3 interface, call the QueryInterface method of the IVssDifferentialSoftwareSnapshotMgmt interface and pass the IID_IVssDifferentialSoftwareSnapshotMgmt3 constant as the interface identifier (IID) parameter.
Inheritance
The IVssDifferentialSoftwareSnapshotMgmt3 interface inherits from IVssDifferentialSoftwareSnapshotMgmt2 and IVssDifferentialSoftwareSnapshotMgmt. IVssDifferentialSoftwareSnapshotMgmt3 also has these types of members:
Methods
The IVssDifferentialSoftwareSnapshotMgmt3 interface has these methods.
IVssDifferentialSoftwareSnapshotMgmt3::ClearVolumeProtectFault Clears the protection fault state for the specified volume. |
IVssDifferentialSoftwareSnapshotMgmt3::DeleteUnusedDiffAreas Deletes all shadow copy storage areas (also called diff areas) on the specified volume that are not in use. |
IVssDifferentialSoftwareSnapshotMgmt3::GetVolumeProtectLevel Gets the shadow copy protection level and status for the specified volume. |
IVssDifferentialSoftwareSnapshotMgmt3::QuerySnapshotDeltaBitmap This method is reserved for future use. (IVssDifferentialSoftwareSnapshotMgmt3.QuerySnapshotDeltaBitmap) |
IVssDifferentialSoftwareSnapshotMgmt3::SetVolumeProtectLevel Sets the shadow copy protection level for an original volume or a shadow copy storage area volume. |
Remarks
An application with administrator privilege can use the SetVolumeProtectLevel method to specify a shadow copy protection level for a volume and the separate volume that contains its shadow copy storage area. The same protection level should be set for both volumes. The possible protection levels are defined by the VSS_PROTECTION_LEVEL enumeration.
When a volume protection fault occurs, the application must call the GetVolumeProtectLevel method for the volume to identify the cause of the fault.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | vsmgmt.h |