Win32_TapeDrive, ROOT\CIMV2\ms_409

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

Description

The Win32_TapeDrive class represents a tape drive on a Win32 computer. Tape drives are primarily distinguished by the fact that they can be accessed only sequentially.

Win32_TapeDrive methods

Win32_TapeDrive has 2 methods (2 Derived)

NameOriginReturn
ResetCIM_LogicalDeviceuint32 {'out':True}
SetPowerStateCIM_LogicalDeviceuint32 {'out':True}

Win32_TapeDrive properties

Win32_TapeDrive has 40 properties (8 Local, 32 Derived)

NameOriginCIMType
AvailabilityCIM_LogicalDevice18 [uint16]
CapabilitiesCIM_MediaAccessDevice18 [uint16]
CapabilityDescriptionsCIM_MediaAccessDevice8 [string]
CaptionCIM_ManagedSystemElement8 [string]
CompressionWin32_TapeDrive19 [uint32]
CompressionMethodCIM_MediaAccessDevice8 [string]
ConfigManagerErrorCodeCIM_LogicalDevice19 [uint32]
ConfigManagerUserConfigCIM_LogicalDevice11 [boolean]
CreationClassNameCIM_LogicalDevice8 [string]
DefaultBlockSizeCIM_MediaAccessDevice21 [uint64]
DescriptionCIM_ManagedSystemElement8 [string]
key
DeviceID
CIM_LogicalDevice8 [string]
ECCWin32_TapeDrive19 [uint32]
EOTWarningZoneSizeCIM_TapeDrive19 [uint32]
ErrorClearedCIM_LogicalDevice11 [boolean]
ErrorDescriptionCIM_LogicalDevice8 [string]
ErrorMethodologyCIM_MediaAccessDevice8 [string]
FeaturesHighWin32_TapeDrive19 [uint32]
FeaturesLowWin32_TapeDrive19 [uint32]
IdWin32_TapeDrive8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
LastErrorCodeCIM_LogicalDevice19 [uint32]
ManufacturerWin32_TapeDrive8 [string]
MaxBlockSizeCIM_MediaAccessDevice21 [uint64]
MaxMediaSizeCIM_MediaAccessDevice21 [uint64]
MaxPartitionCountCIM_TapeDrive19 [uint32]
MediaTypeWin32_TapeDrive8 [string]
MinBlockSizeCIM_MediaAccessDevice21 [uint64]
NameCIM_ManagedSystemElement8 [string]
NeedsCleaningCIM_MediaAccessDevice11 [boolean]
NumberOfMediaSupportedCIM_MediaAccessDevice19 [uint32]
PaddingCIM_TapeDrive19 [uint32]
PNPDeviceIDCIM_LogicalDevice8 [string]
PowerManagementCapabilitiesCIM_LogicalDevice18 [uint16]
PowerManagementSupportedCIM_LogicalDevice11 [boolean]
ReportSetMarksWin32_TapeDrive19 [uint32]
StatusCIM_ManagedSystemElement8 [string]
StatusInfoCIM_LogicalDevice18 [uint16]
SystemCreationClassNameCIM_LogicalDevice8 [string]
SystemNameCIM_LogicalDevice8 [string]

Detailed description of Win32_TapeDrive methods

Derived methods (2) of Win32_TapeDrive class

Reset method
Returnuint32 {'out':True}
Description'Requests a reset of the logical device. The return value should be 0 if the request was successfully executed, 1 if the request is not supported and some other value if an error occurred.'
Reset method is in 104 classes of ROOT\CIMV2\ms_409 and in 19 namespaces
SetPowerState method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
PowerStateuint160-{'Values':['Full Power', 'Power Save - Low Power Mode', 'Power Save - Standby', 'Power Save - Other', 'Power Cycle', 'Power Off']}
Timedatetime1-
Description'SetPowerState defines the desired power state for a logical device and when a device should be put into that state. The desired power state is specified by setting the PowerState parameter to one of the following integer values: 1="Full Power", 2="Power Save - Low Power Mode", 3="Power Save - Standby", 4="Power Save - Other", 5="Power Cycle" or 6="Power Off". The Time parameter (for all state changes, except 5, "Power Cycle") indicates when the power state should be set, either as a regular date-time value or as an interval value (where the interval begins when the method invocation is received). When the PowerState parameter is equal to 5, "Power Cycle", the Time parameter indicates when the device should power on again. Power off is immediate. SetPowerState should return 0 if successful, 1 if the specified PowerState and Time request is not supported, and some other value if any other error occurred. In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.'
SetPowerState method is in 105 classes of ROOT\CIMV2\ms_409 and in 14 namespaces

Detailed description of Win32_TapeDrive properties

Local properties (8) of Win32_TapeDrive class

Compression property
CIMTYPE'uint32'
Description'The Compression property specifies whether hardware data compression is enabled or disabled.
Values: 1 (true) or 0 (false). If true, hardware data compression is enabled.'
Compression property is in 1 class (Win32_TapeDrive) of ROOT\CIMV2\ms_409 and in 2 namespaces
ECC property
CIMTYPE'uint32'
Description'The ECC property specifies whether the device supports hardware error correction.
Values: 1 (true) or 0 (false). If true, hardware error correction is supported.'
Values['False', 'True']
ECC property is in 1 class (Win32_TapeDrive) of ROOT\CIMV2\ms_409 and in 2 namespaces
FeaturesHigh property
CIMTYPE'uint32'
Description'The FeaturesHigh property specifies the high-order 32 bits of the device features flag.'
FeaturesHigh property is in 1 class (Win32_TapeDrive) of ROOT\CIMV2\ms_409 and in 2 namespaces
FeaturesLow property
CIMTYPE'uint32'
Description'The FeaturesLow property specifies the low-order 32 bits of the device features flag.'
FeaturesLow property is in 1 class (Win32_TapeDrive) of ROOT\CIMV2\ms_409 and in 2 namespaces
Id property
CIMTYPE'string'
Description'The Id property indicates the manufacturer's identifying name of the Win32 CD ROM drive.
Example: PLEXTOR CD-ROM PX-12CS 1.01'
Id property is in 9 classes of ROOT\CIMV2\ms_409 and in 33 namespaces
Manufacturer property
CIMTYPE'string'
Description'The Manufacturer property indicates the manufacturer of the Win32 CD-ROM drive.
Example: PLEXTOR'
Manufacturer property is in 54 classes of ROOT\CIMV2\ms_409 and in 17 namespaces
MediaType property
CIMTYPE'string'
Description'The MediaType property specifies the media type used by (or accessed by) this device. In this case, it is set to "Tape Drive".'
MediaType property is in 7 classes of ROOT\CIMV2\ms_409 and in 7 namespaces
ReportSetMarks property
CIMTYPE'uint32'
Description'The ReportSetMarks property specifies whether setmark reporting is enabled. Setmark reporting makes use of a specialized recorded element that does not contain user data. This recorded element is used to provide a segmentation scheme. This segmentation scheme is hierarchically superior to filemarks. Setmarks provide faster positioning on high-capacity tapes.
Values: 1 (true) or 0 (false). If true, setmark reporting is enabled.'
ReportSetMarks property is in 1 class (Win32_TapeDrive) of ROOT\CIMV2\ms_409 and in 4 namespaces

Derived properties (32) of Win32_TapeDrive class

Availability property
CIMTYPE'uint16'
Description'The availability and status of the device. For example, the Availability property indicates that the device is running and has full power (value=3), or is in a warning (4), test (5), degraded (10) or power save state (values 13-15 and 17). Regarding the power saving states, these are defined as follows: Value 13 ("Power Save - Unknown") indicates that the device is known to be in a power save mode, but its exact status in this mode is unknown; 14 ("Power Save - Low Power Mode") indicates that the device is in a power save state but still functioning, and may exhibit degraded performance; 15 ("Power Save - Standby") describes that the device is not functioning but could be brought to full power 'quickly'; and value 17 ("Power Save - Warning") indicates that the device is in a warning state, though also in a power save mode.'
Values['Other', 'Unknown', 'Running/Full Power', 'Warning', 'In Test', 'Not Applicable', 'Power Off', 'Off Line', 'Off Duty', 'Degraded', 'Not Installed', 'Install Error', 'Power Save - Unknown', 'Power Save - Low Power Mode', 'Power Save - Standby', 'Power Cycle', 'Power Save - Warning', 'Paused', 'Not Ready', 'Not Configured', 'Quiesced']
Availability property is in 107 classes of ROOT\CIMV2\ms_409 and in 12 namespaces
Capabilities property
CIMTYPE'uint16'
Description'Capabilities of the media access device. For example, the device may support "Random Access", removable media and "Automatic Cleaning". In this case, the values 3, 7 and 9 would be written to the array.
Several of the enumerated values require some explanation: 1) Value 11, Supports Dual Sided Media, distinguishes a Device that can access both sides of dual sided Media, from a Device that reads only a single side and requires the Media to be flipped; and, 2) Value 12, Predismount Eject Not Required, indicates that Media does not have to be explicitly ejected from the Device before being accessed by a PickerElement.'
Values['Unknown', 'Other', 'Sequential Access', 'Random Access', 'Supports Writing', 'Encryption', 'Compression', 'Supports Removeable Media', 'Manual Cleaning', 'Automatic Cleaning', 'SMART Notification', 'Supports Dual Sided Media', 'Predismount Eject Not Required']
Capabilities property is in 16 classes of ROOT\CIMV2\ms_409 and in 9 namespaces
CapabilityDescriptions property
CIMTYPE'string'
Description'An array of free-form strings providing more detailed explanations for any of the access device features indicated in the Capabilities array. Note, each entry of this array is related to the entry in the Capabilities array that is located at the same index.'
CapabilityDescriptions property is in 19 classes of ROOT\CIMV2\ms_409 and in 4 namespaces
Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
Caption property is in 273 classes of ROOT\CIMV2\ms_409 and in 37 namespaces
CompressionMethod property
CIMTYPE'string'
Description'A free form string indicating the algorithm or tool used by the device to support compression. If it is not possible or not desired to describe the compression scheme (perhaps because it is not known), recommend using the following words: "Unknown" to represent that it is not known whether the device supports compression capabilities or not, "Compressed" to represent that the device supports compression capabilities but either its compression scheme is not known or not disclosed, and "Not Compressed" to represent that the devices does not support compression capabilities.'
CompressionMethod property is in 24 classes of ROOT\CIMV2\ms_409 and in 5 namespaces
ConfigManagerErrorCode property
CIMTYPE'uint32'
Description'Indicates the Win32 Configuration Manager error code. The following values may be returned:
0 This device is working properly.
1 This device is not configured correctly.
2 Windows cannot load the driver for this device.
3 The driver for this device might be corrupted, or your system may be running low on memory or other resources.
4 This device is not working properly. One of its drivers or your registry might be corrupted.
5 The driver for this device needs a resource that Windows cannot manage.
6 The boot configuration for this device conflicts with other devices.
7 Cannot filter.
8 The driver loader for the device is missing.
9 This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly.
10 This device cannot start.
11 This device failed.
12 This device cannot find enough free resources that it can use.
13 Windows cannot verify this device's resources.
14 This device cannot work properly until you restart your computer.
15 This device is not working properly because there is probably a re-enumeration problem.
16 Windows cannot identify all the resources this device uses.
17 This device is asking for an unknown resource type.
18 Reinstall the drivers for this device.
19 Your registry might be corrupted.
20 Failure using the VxD loader.
21 System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device.
22 This device is disabled.
23 System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation.
24 This device is not present, is not working properly, or does not have all its drivers installed.
25 Windows is still setting up this device.
26 Windows is still setting up this device.
27 This device does not have valid log configuration.
28 The drivers for this device are not installed.
29 This device is disabled because the firmware of the device did not give it the required resources.
30 This device is using an Interrupt Request (IRQ) resource that another device is using.
31 This device is not working properly because Windows cannot load the drivers required for this device.'
Values['This device is working properly.', 'This device is not configured correctly.', 'Windows cannot load the driver for this device.', 'The driver for this device might be corrupted, or your system may be running low on memory or other resources.', 'This device is not working properly. One of its drivers or your registry might be corrupted.', 'The driver for this device needs a resource that Windows cannot manage.', 'The boot configuration for this device conflicts with other devices.', 'Cannot filter.', 'The driver loader for the device is missing.', 'This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly.', 'This device cannot start.', 'This device failed.', 'This device cannot find enough free resources that it can use.', 'Windows cannot verify this device's resources.', 'This device cannot work properly until you restart your computer.', 'This device is not working properly because there is probably a re-enumeration problem.', 'Windows cannot identify all the resources this device uses.', 'This device is asking for an unknown resource type.', 'Reinstall the drivers for this device.', 'Failure using the VxD loader.', 'Your registry might be corrupted.', 'System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device.', 'This device is disabled.', 'System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation.', 'This device is not present, is not working properly, or does not have all its drivers installed.', 'Windows is still setting up this device.', 'Windows is still setting up this device.', 'This device does not have valid log configuration.', 'The drivers for this device are not installed.', 'This device is disabled because the firmware of the device did not give it the required resources.', 'This device is using an Interrupt Request (IRQ) resource that another device is using.', 'This device is not working properly because Windows cannot load the drivers required for this device.']
ConfigManagerErrorCode property is in 103 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
ConfigManagerUserConfig property
CIMTYPE'boolean'
Description'Indicates whether the device is using a user-defined configuration.'
ConfigManagerUserConfig property is in 103 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
CreationClassName property
CIMTYPE'string'
Description'CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.'
CreationClassName property is in 175 classes of ROOT\CIMV2\ms_409 and in 20 namespaces
DefaultBlockSize property
CIMTYPE'uint64'
Description'Default block size, in bytes, for this device.'
Units'bytes'
DefaultBlockSize property is in 11 classes of ROOT\CIMV2\ms_409 and in 5 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
Description property is in 329 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
DeviceID property
CIMTYPE'string'
Description'The DeviceID property contains a string uniquely identifying the tape drive with other devices on the system.'
keyTrue
DeviceID property is in 106 classes of ROOT\CIMV2\ms_409 and in 21 namespaces
EOTWarningZoneSize property
CIMTYPE'uint32'
Description'EOTWarningZoneSize indicates the size, in bytes, of the area designated as 'end of tape'. Access in this area generates an 'end of tape' warning.'
Units'bytes'
EOTWarningZoneSize property is in 2 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
ErrorCleared property
CIMTYPE'boolean'
Description'ErrorCleared is a boolean property indicating that the error reported in LastErrorCode property is now cleared.'
ErrorCleared property is in 103 classes of ROOT\CIMV2\ms_409 and in 12 namespaces
ErrorDescription property
CIMTYPE'string'
Description'ErrorDescription is a free-form string supplying more information about the error recorded in LastErrorCode property, and information on any corrective actions that may be taken.'
ErrorDescription property is in 105 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
ErrorMethodology property
CIMTYPE'string'
Description'ErrorMethodology is a free-form string describing the type(s) of error detection and correction supported by this device.'
ErrorMethodology property is in 32 classes of ROOT\CIMV2\ms_409 and in 4 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
InstallDate property is in 223 classes of ROOT\CIMV2\ms_409 and in 23 namespaces
LastErrorCode property
CIMTYPE'uint32'
Description'LastErrorCode captures the last error code reported by the logical device.'
LastErrorCode property is in 103 classes of ROOT\CIMV2\ms_409 and in 16 namespaces
MaxBlockSize property
CIMTYPE'uint64'
Description'Maximum block size, in bytes, for media accessed by this device.'
Units'bytes'
MaxBlockSize property is in 11 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
MaxMediaSize property
CIMTYPE'uint64'
Description'Maximum size, in Kbytes, of media supported by this device. KBytes is interpreted as the number of bytes multiplied by 1000 (NOT the number of bytes multiplied by 1024).'
Units'kilobytes'
MaxMediaSize property is in 11 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
MaxPartitionCount property
CIMTYPE'uint32'
Description'The MaxPartitionCount property indicates the maximum part count for the tape drive.'
MaxPartitionCount property is in 2 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
MinBlockSize property
CIMTYPE'uint64'
Description'Minimum block size, in bytes, for media accessed by this device.'
Units'bytes'
MinBlockSize property is in 11 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
Name property
CIMTYPE'string'
Description'The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.'
Name property is in 306 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
NeedsCleaning property
CIMTYPE'boolean'
Description'Boolean indicating that the media access device needs cleaning. Whether manual or automatic cleaning is possible is indicated in the Capabilities array property. '
NeedsCleaning property is in 11 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
NumberOfMediaSupported property
CIMTYPE'uint32'
Description'When the media access device supports multiple individual media, this property defines the maximum number which can be supported or inserted.'
NumberOfMediaSupported property is in 11 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
Padding property
CIMTYPE'uint32'
Description'Padding indicates the number of bytes inserted between blocks on a tape Media.'
Units'bytes'
Padding property is in 2 classes of ROOT\CIMV2\ms_409 and in 5 namespaces
PNPDeviceID property
CIMTYPE'string'
Description'Indicates the Win32 Plug and Play device ID of the logical device. Example: *PNP030b'
PNPDeviceID property is in 103 classes of ROOT\CIMV2\ms_409 and in 6 namespaces
PowerManagementCapabilities property
CIMTYPE'uint16'
Description'Indicates the specific power-related capabilities of the logical device. The array values, 0="Unknown", 1="Not Supported" and 2="Disabled" are self-explanatory. The value, 3="Enabled" indicates that the power management features are currently enabled but the exact feature set is unknown or the information is unavailable. "Power Saving Modes Entered Automatically" (4) describes that a device can change its power state based on usage or other criteria. "Power State Settable" (5) indicates that the SetPowerState method is supported. "Power Cycling Supported" (6) indicates that the SetPowerState method can be invoked with the PowerState input variable set to 5 ("Power Cycle"). "Timed Power On Supported" (7) indicates that the SetPowerState method can be invoked with the PowerState input variable set to 5 ("Power Cycle") and the Time parameter set to a specific date and time, or interval, for power-on.'
Values['Unknown', 'Not Supported', 'Disabled', 'Enabled', 'Power Saving Modes Entered Automatically', 'Power State Settable', 'Power Cycling Supported', 'Timed Power On Supported']
PowerManagementCapabilities property is in 105 classes of ROOT\CIMV2\ms_409 and in 14 namespaces
PowerManagementSupported property
CIMTYPE'boolean'
Description'Boolean indicating that the Device can be power managed - ie, put into a power save state. This boolean does not indicate that power management features are currently enabled, or if enabled, what features are supported. Refer to the PowerManagementCapabilities array for this information. If this boolean is false, the integer value 1, for the string, "Not Supported", should be the only entry in the PowerManagementCapabilities array.'
PowerManagementSupported property is in 105 classes of ROOT\CIMV2\ms_409 and in 14 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 225 classes of ROOT\CIMV2\ms_409 and in 42 namespaces
StatusInfo property
CIMTYPE'uint16'
Description'StatusInfo is a string indicating whether the logical device is in an enabled (value = 3), disabled (value = 4) or some other (1) or unknown (2) state. If this property does not apply to the logical device, the value, 5 ("Not Applicable"), should be used.'
Values['Other', 'Unknown', 'Enabled', 'Disabled', 'Not Applicable']
StatusInfo property is in 103 classes of ROOT\CIMV2\ms_409 and in 12 namespaces
SystemCreationClassName property
CIMTYPE'string'
Description'The scoping System's CreationClassName.'
SystemCreationClassName property is in 119 classes of ROOT\CIMV2\ms_409 and in 20 namespaces
SystemName property
CIMTYPE'string'
Description'The scoping System's Name.'
SystemName property is in 119 classes of ROOT\CIMV2\ms_409 and in 22 namespaces

Win32_TapeDrive Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'The Win32_TapeDrive class represents a tape drive on a Win32 computer. Tape drives are primarily distinguished by the fact that they can be accessed only sequentially.'
LOCALE1033

Win32_TapeDrive System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:Win32_TapeDrive'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_TapeDrive', 'CIM_MediaAccessDevice', 'CIM_LogicalDevice', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT40___SYSTEM3
__RELPATH'Win32_TapeDrive'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'CIM_TapeDrive'___SYSTEM8
__CLASS'Win32_TapeDrive'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_TapeDrive

Number of classes:17
comments powered by Disqus
WUtils.com