Create method of the Win32_ShadowStorage class
The Create method creates differential area storage for the specified Volume on the specified DiffVolume with the specified MaxSpace.
This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.
Syntax
uint32 Create(
[in] string Volume,
[in] string DiffVolume,
[in] uint64 MaxSpace
);
Parameters
-
Volume [in]
-
Volume that is to be shadowed. Can be as a volume drive letter, mount point, or volume GUID name.
-
DiffVolume [in]
-
Volume used to store the shadow differential area. If this parameter is not supplied, the specified Volume is used to store the differential area. Can be as a volume drive letter, mount point, or volume GUID name.
-
MaxSpace [in]
-
Initial maximum size of the differential area.
Return value
Return code | Description |
---|---|
|
Success. |
|
Access denied. |
|
Invalid argument. |
|
Specified volume not found. |
|
Specified volume not supported. |
|
Shadow copy storage area already exists. |
|
Maximum number of shadow storage areas reached. |
|
Shadow copy provider veto of the operation. |
|
Shadow copy provider not registered. |
|
Shadow copy provider failure. |
|
Unknown error. |
|
Insufficient storage. |
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2003 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|