Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetComponentCount method returns the number of a given writer's components explicitly stored in the Backup Components Document.
Syntax
HRESULT GetComponentCount(
[out] UINT *pcComponents
);
Parameters
[out] pcComponents
Pointer to the number of a writer's components stored in the Backup Components Document.
Return value
The following are the valid return codes for this method.
Value | Meaning |
---|---|
|
Successfully returned the component. |
|
One of the parameter values is not valid. |
|
The caller is out of memory or other system resources. |
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 |