Class: WMI::Win32_VolumeChangeEvent

Inherits:
Base
  • Object
show all
Defined in:
lib/Win32_VolumeChangeEvent.rb

Overview

Win32_VolumeChangeEvent クラスは、コンピュータ システムでの、ネットワーク ドライブ文字やマウントされたドライブの追加または削除によるネットワーク 割り当て済みドライブイベントを表します。

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Base

#AddRef, #AssociatorsAsync_, #Associators_, #Clone_, #CompareTo_, #DeleteAsync_, #Delete_, #Derivation_, #ExecMethodAsync_, #ExecMethod_, #GetIDsOfNames, #GetObjectText_, #GetText_, #GetTypeInfo, #GetTypeInfoCount, #InstancesAsync_, #Instances_, #Invoke, #Methods_, #Path_, #Properties_, #PutAsync_, #Put_, #Qualifiers_, #QueryInterface, #ReferencesAsync_, #References_, #Refresh_, #Release, #Security_, #SetFromText_, #SpawnDerivedClass_, #SpawnInstance_, #SubclassesAsync_, #Subclasses_, #SystemProperties_

Instance Attribute Details

- (string) DriveName (readonly)

DriveName プロパティには、システムに追加されたまたはシステムから削除されたボリュームからのドライブ名 (文字) を含みます。

Returns:

  • (string)

    DriveName



8
9
10
# File 'lib/Win32_VolumeChangeEvent.rb', line 8

def DriveName
  @DriveName
end

- (uint16) EventType (readonly)

EventType プロパティにより、どの種類のデバイスの変更通知イベントが発生するかが示されます。

Returns:

  • (uint16)

    EventType



13
14
15
# File 'lib/Win32_VolumeChangeEvent.rb', line 13

def EventType
  @EventType
end