IVssCreateExpressWriterMetadata::SetBackupSchema method
Used by an express writer to indicate in its Writer Metadata Document the types of backup operations it can participate in.
Syntax
HRESULT SetBackupSchema(
[in] DWORD dsSchemaMask
);
Parameters
- dsSchemaMask [in]
-
A bitmask of VSS_BACKUP_SCHEMA enumeration values that specify the types of backup operations this writer supports.
Return value
The following are the valid return codes for this method.
| Value | Meaning |
|---|---|
|
Successfully set the failure message. |
|
The backup schema argument is not valid. |
|
The caller is out of memory or other system resources. |
|
The XML document is not valid. Check the event log for details. For more information, see Event and Error Handling Under VSS. |
Remarks
If no schema is explicitly set by SetBackupSchema, the express writer will be assigned the default value of VSS_BS_UNDEFINED. VSS_BS_UNDEFINED means that the writer supports only simple full backup and restoration of entire files (as defined by VSS_BT_FULL), there is no support for incremental or differential backups, and partial files are not supported. Only the VSS_BS_UNDEFINED, VSS_BS_COPY and VSS_BS_INDEPENDENT_SYSTEM_STATE backup schema types are supported by express writers.
Requesters call IVssExamineWriterMetadata::GetBackupSchema to retrieve a writer's backup schemas as set by SetBackupSchema.
Requirements
|
Minimum supported client | Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 11/5/2012