DeleteStoragePool method of the MSISCSITARGET_StorageConfigurationService class
Deletes or starts a job to delete a MSISCSITARGET_StoragePool instance. The freed space is returned to the source storage pools, which are indicated by MSISCSITARGET_AllocatedFromStoragePool associations, or returned back to underlying storage extent instances.
This method is inherited from the CIM_StorageConfigurationService class.
Syntax
uint32 DeleteStoragePool(
[out] CIM_ConcreteJob Ref Job,
[in] CIM_StoragePool Ref Pool
);
Parameters
-
Job [out]
-
On return, contains a reference to the job, if a job is created and not completed.
-
Pool [in]
-
Specifies the pool to delete.
Return value
This method returns one of the following values.
-
Job Completed with No Error (0)
-
Not Supported (1)
-
Unknown (2)
-
Timeout (3)
-
Failed (4)
-
Invalid Parameter (5)
-
In Use (6)
-
DMTF Reserved (7 4095)
-
Method Parameters Checked - Job Started (4096)
-
Method Reserved (4097 32767)
-
Vendor Specific (32768 65535)
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\CIMv2\Storage\iScsiTarget |
MOF |
|
DLL |
|