CVssWriter::GetCurrentVolumeCount method

The GetCurrentVolumeCount method returns the number of volumes in the shadow copy set.

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

Syntax


UINT GetCurrentVolumeCount();

Parameters

This method has no parameters.

Return value

This method returns the number of volumes returned in the shadow copy set. This value will also be the size of the array of null-terminated wide character strings containing volume names returned by CVssWriter::GetCurrentVolumeArray.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

VsWriter.h (include Vss.h or VsWriter.h)

Library

VssApi.lib

See also

CVssWriter
CVssWriter::GetCurrentVolumeArray
CVssWriter::OnPrepareSnapshot
CVssWriter::OnFreeze
CVssWriter::OnThaw

 

 

Community Additions

ADD
Show:
© 2015 Microsoft