Msvm_StorageJob, ROOT\virtualization\v2\ms_409

Class | Methods (2) | Properties (5) | Qualifiers (3) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

This class represents a image operation job created by the Microsoft Hyper-V Image Management Service.

Msvm_StorageJob methods

Msvm_StorageJob has 2 methods (2 Local)

NameOriginReturn
GetErrorMsvm_StorageJobuint32 {'out':True}
GetErrorExMsvm_StorageJobuint32 {'out':True}

Msvm_StorageJob properties

Msvm_StorageJob has 5 properties (5 Local)

NameOriginCIMType
CancellableMsvm_StorageJob11 [boolean]
ChildMsvm_StorageJob8 [string]
JobCompletionStatusCodeMsvm_StorageJob19 [uint32]
JobTypeMsvm_StorageJob18 [uint16]
ParentMsvm_StorageJob8 [string]

Detailed description of Msvm_StorageJob methods

Local methods (2) of Msvm_StorageJob class

GetError method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Errorstring0-
Values['Completed with No Error', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in used', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
GetError method is in 4 classes of ROOT\virtualization\v2\ms_409 and in 8 namespaces
GetErrorEx method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Errorsstring0-{'Description':'If the operational status of the job is not "OK", this method returns an array of Msvm_Error instances. Otherwise, if the job is "OK", NULL is returned.','Out':True}
Description'When the job is executing or has terminated without error, then this method returns no Msvm_Error instance. However, if the job has failed because of some internal problem or because the job has been terminated by a client, then one or more Msvm_Error instances are returned.'
Values['Completed with No Error', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in used', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
GetErrorEx method is in 4 classes of ROOT\virtualization\v2\ms_409 and in 2 namespaces

Detailed description of Msvm_StorageJob properties

Local properties (5) of Msvm_StorageJob class

Cancellable property
CIMTYPE'boolean'
Description'Indicates whether the job can be cancelled. The value of this property does not guarantee that a request to cancel the job will succeed.'
Cancellable property is in 4 classes of ROOT\virtualization\v2\ms_409 and in 2 namespaces
Child property
CIMTYPE'string'
Description'On failure of the asynchronous operation, this property contains the file path to the child of the virtual hard drive being affected by this operation.'
Child property is in 1 class (Msvm_StorageJob) of ROOT\virtualization\v2\ms_409 and in 6 namespaces
JobCompletionStatusCode property
CIMTYPE'uint32'
Description'The HRESULT code that describes the completion status for the asynchronous operation.'
JobCompletionStatusCode property is in 1 class (Msvm_StorageJob) of ROOT\virtualization\v2\ms_409 and in 2 namespaces
JobType property
CIMTYPE'uint16'
Description'The type of asynchronous operation being tracked by this instance of Msvm_StorageJob.
Values are:
Unknown
VHD Creation: Creating a virtual hard disk image (VHD).
Floppy Creation: Creating a virtual floppy disk image (VFD).
Compaction: Compacting the size of a virtual hard disk image.
Expansion: Expanding the size of a virtual hard disk image.
Merging: Merging multiple virtual hard disk images into a single image.
Conversion: Converting the type of a virtual hard disk image.
Loopback Mount: Mounting the virtual hard disk on the parent partition.
Get VHD Info: Retrieving information about a virtual hard disk image (VHD).
Validate VHD Image: Validating a virtual hard disk image (VHD).'
Values['Unknown', 'VHD Creation', 'Floppy Creation', 'Compaction', 'Expansion', 'Merging', 'Conversion', 'Loopback Mount', 'Get VHD Info', 'Validate VHD Image']
JobType property is in 3 classes of ROOT\virtualization\v2\ms_409 and in 2 namespaces
Parent property
CIMTYPE'string'
Description'On failure of the asynchronous operation, this property contains the file path to the parent of the virtual hard drive being affected by this operation.'
Parent property is in 2 classes of ROOT\virtualization\v2\ms_409 and in 8 namespaces

Msvm_StorageJob Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'This class represents a image operation job created by the Microsoft Hyper-V Image Management Service.'
LOCALE1033

Msvm_StorageJob System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\virtualization\v2\ms_409:Msvm_StorageJob'___SYSTEM8
__NAMESPACE'ROOT\virtualization\v2\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_ConcreteJob', 'CIM_Job', 'CIM_LogicalElement', 'CIM_ManagedSystemElement', 'CIM_ManagedElement']___SYSTEM8
__PROPERTY_COUNT5___SYSTEM3
__RELPATH'Msvm_StorageJob'___SYSTEM8
__DYNASTY'CIM_ManagedElement'___SYSTEM8
__SUPERCLASS'CIM_ConcreteJob'___SYSTEM8
__CLASS'Msvm_StorageJob'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Msvm_StorageJob

Number of classes:1
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Msvm_AffectedStorageJobElement010----
comments powered by Disqus
WUtils.com