CVssWriter::AreComponentsSelected method (vswriter.h)

The AreComponentsSelected method indicates whether a requester is running under component mode and supports selecting individual components to be backed up or backs up entire volumes.

AreComponentsSelected is a protected method implemented by the CVssWriter base class.

Syntax

bool AreComponentsSelected();

Return value

The following are the valid return codes for this method.

Value Meaning
true
The requester supports selecting components.
false
The requester does not support selecting components.

Remarks

If false is returned, it indicates that the backup application (requester) is not running under component mode.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header vswriter.h (include Vss.h, VsWriter.h)
Library VssApi.lib

See also

CVssWriter

CVssWriter::OnBackupComplete

CVssWriter::OnPostRestore

CVssWriter::OnPreRestore

CVssWriter::OnPrepareBackup