Class: WMI::Win32_WMISetting

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

Overview

Win32_WMISetting クラスは、WMI サービスの操作パラメータが含まれるシングルトン クラスです。Win32_WMISetting は 1 つのインスタンスだけがあります。この単一インスタンスは各 Win32 システムに常に存在し、削除することはできません。追加のインスタンスは作成されません。

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) ASPScriptDefaultNamespace

ASPScriptDefaultNamespace プロパティには、呼び出し元によって none が指定された場合に、API スクリプトからのコールで使用する名前空間が含まれます。

Returns:

  • (string)

    ASPScriptDefaultNamespace



7
8
9
# File 'lib/Win32_WMISetting.rb', line 7

def ASPScriptDefaultNamespace
  @ASPScriptDefaultNamespace
end

- (boolean) ASPScriptEnabled

ASPScriptEnabled プロパティは、Active Server Page (ASP) で WMI スクリプトを使用できるかどうかを示します。

 

Returns:

  • (boolean)

    ASPScriptEnabled



15
16
17
# File 'lib/Win32_WMISetting.rb', line 15

def ASPScriptEnabled
  @ASPScriptEnabled
end

- (string) AutorecoverMofs (readonly)

AutoRecoverMofs プロパティには、 WMI データベースの初期化または回復に使用される完全修飾 MOF ファイル名の一覧が含まれています。

 

Returns:

  • (string)

    AutorecoverMofs



21
22
23
# File 'lib/Win32_WMISetting.rb', line 21

def AutorecoverMofs
  @AutorecoverMofs
end

- (uint32) AutoStartWin9X

AutoStartWin9X プロパティは、WMI が Win9X システムで開始される状況を示します。

Returns:

  • (uint32)

    AutoStartWin9X



26
27
28
# File 'lib/Win32_WMISetting.rb', line 26

def AutoStartWin9X
  @AutoStartWin9X
end

- (uint32) BackupInterval

BackupInterval プロパティにより、WMI データベースのバックアップの間隔が指定されます。

Returns:

  • (uint32)

    BackupInterval



31
32
33
# File 'lib/Win32_WMISetting.rb', line 31

def BackupInterval
  @BackupInterval
end

- (datetime) BackupLastTime

BackupLastTime プロパティにより、前回のバックアップが行われた日時が指定されます。

Returns:

  • (datetime)

    BackupLastTime



36
37
38
# File 'lib/Win32_WMISetting.rb', line 36

def BackupLastTime
  @BackupLastTime
end

- (string) BuildVersion (readonly)

BuildVersion プロパティには現在、インストールされている WMI サービスのバージョン情報が含まれています。

Returns:

  • (string)

    BuildVersion



41
42
43
# File 'lib/Win32_WMISetting.rb', line 41

def BuildVersion
  @BuildVersion
end

- (string) Caption (readonly)

CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



46
47
48
# File 'lib/Win32_WMISetting.rb', line 46

def Caption
  @Caption
end

- (string) DatabaseDirectory (readonly)

DatabaseDirectory プロパティにより、WMI データベースを含むディレクトリのパスが指定されます。

Returns:

  • (string)

    DatabaseDirectory



51
52
53
# File 'lib/Win32_WMISetting.rb', line 51

def DatabaseDirectory
  @DatabaseDirectory
end

- (uint32) DatabaseMaxSize (readonly)

DatabaseMaxSize プロパティにより、WMI データベースの最大サイズが指定されます。

Returns:

  • (uint32)

    DatabaseMaxSize



56
57
58
# File 'lib/Win32_WMISetting.rb', line 56

def DatabaseMaxSize
  @DatabaseMaxSize
end

- (string) Description (readonly)

CIM_Setting オブジェクトの説明です。

Returns:

  • (string)

    Description



61
62
63
# File 'lib/Win32_WMISetting.rb', line 61

def Description
  @Description
end

- (boolean) EnableAnonWin9xConnections

EnableAnonWin9xConnections は、セキュリティ チェックを行わずにリモート アクセスが許可されているかどうかを示します。

 

Returns:

  • (boolean)

    EnableAnonWin9xConnections



67
68
69
# File 'lib/Win32_WMISetting.rb', line 67

def EnableAnonWin9xConnections
  @EnableAnonWin9xConnections
end

- (boolean) EnableEvents

EnableEvents プロパティは、WMI イベント サブシステムを有効にする必要があるかどうかを示します。

 

Returns:

  • (boolean)

    EnableEvents



74
75
76
# File 'lib/Win32_WMISetting.rb', line 74

def EnableEvents
  @EnableEvents
end

- (boolean) EnableStartupHeapPreallocation

EnableStartupHeapPreallocation プロパティは、WMI が事前に割り当てられたヒープで開始されるかどうかを示します。

 

Returns:

  • (boolean)

    EnableStartupHeapPreallocation



82
83
84
# File 'lib/Win32_WMISetting.rb', line 82

def EnableStartupHeapPreallocation
  @EnableStartupHeapPreallocation
end

- (uint32) HighThresholdOnClientObjects

HighThresholdOnClientObjects プロパティにより、プロバイダが作成したオブジェクトがクライアントに配信される最高速度が指定されます。

 

Returns:

  • (uint32)

    HighThresholdOnClientObjects



90
91
92
# File 'lib/Win32_WMISetting.rb', line 90

def HighThresholdOnClientObjects
  @HighThresholdOnClientObjects
end

- (uint32) HighThresholdOnEvents

HighThresholdOnEvents プロパティにより、イベントがクライアントに配信される最高速度が指定されます。

 

Returns:

  • (uint32)

    HighThresholdOnEvents



98
99
100
# File 'lib/Win32_WMISetting.rb', line 98

def HighThresholdOnEvents
  @HighThresholdOnEvents
end

- (string) InstallationDirectory (readonly)

InstallationDirectory プロパティには、WMI ソフトウェアがインストールされているディレクトリのパスが含まれています。

 

Returns:

  • (string)

    InstallationDirectory



104
105
106
# File 'lib/Win32_WMISetting.rb', line 104

def InstallationDirectory
  @InstallationDirectory
end

- (uint32) LastStartupHeapPreallocation (readonly)

LastStartupHeapPreallocation プロパティにより、初期化中に WMI よって作成された、事前に割り当てられたヒープのサイズが指定されます。

Returns:

  • (uint32)

    LastStartupHeapPreallocation



109
110
111
# File 'lib/Win32_WMISetting.rb', line 109

def LastStartupHeapPreallocation
  @LastStartupHeapPreallocation
end

- (string) LoggingDirectory

LoggingDirectory プロパティにより、WMI システム ログ ファイルの場所を含むディレクトリのパスが指定されます。

Returns:

  • (string)

    LoggingDirectory



114
115
116
# File 'lib/Win32_WMISetting.rb', line 114

def LoggingDirectory
  @LoggingDirectory
end

- (uint32) LoggingLevel

LoggingLevel プロパティは、イベント ログが有効になっていて、ログの記録で詳細レベルが使用されているかどうかを示します。

Returns:

  • (uint32)

    LoggingLevel



119
120
121
# File 'lib/Win32_WMISetting.rb', line 119

def LoggingLevel
  @LoggingLevel
end

- (uint32) LowThresholdOnClientObjects

LowThresholdOnClientObjects プロパティにより、クライアントのために作成される新しいオブジェクトの作成の減速を WMI で開始する速度が指定されます。

 

Returns:

  • (uint32)

    LowThresholdOnClientObjects



128
129
130
# File 'lib/Win32_WMISetting.rb', line 128

def LowThresholdOnClientObjects
  @LowThresholdOnClientObjects
end

- (uint32) LowThresholdOnEvents

LowThresholdOnEvents プロパティにより、新しいイベントの配信の減速を WMI で開始する速度が指定されます。

 

Returns:

  • (uint32)

    LowThresholdOnEvents



137
138
139
# File 'lib/Win32_WMISetting.rb', line 137

def LowThresholdOnEvents
  @LowThresholdOnEvents
end

- (uint32) MaxLogFileSize

MaxLogFileSize プロパティは、WMI サービスによって作成されるログ ファイルの最大サイズを示します。

Returns:

  • (uint32)

    MaxLogFileSize



142
143
144
# File 'lib/Win32_WMISetting.rb', line 142

def MaxLogFileSize
  @MaxLogFileSize
end

- (uint32) MaxWaitOnClientObjects

MaxWaitOnClientObjects プロパティにより、新しく作成されたオブジェクトが、廃棄されてエラー値が返されるまで、クライアントによって使用されるのを待機する時間が指定されます。

Returns:

  • (uint32)

    MaxWaitOnClientObjects



147
148
149
# File 'lib/Win32_WMISetting.rb', line 147

def MaxWaitOnClientObjects
  @MaxWaitOnClientObjects
end

- (uint32) MaxWaitOnEvents

MaxWaitOnEvents プロパティにより、クライアントに送信されたイベントが、廃棄されるまでキューに登録される時間が指定されます。

Returns:

  • (uint32)

    MaxWaitOnEvents



152
153
154
# File 'lib/Win32_WMISetting.rb', line 152

def MaxWaitOnEvents
  @MaxWaitOnEvents
end

- (string) MofSelfInstallDirectory (readonly)

MofSelfInstallDirectory プロパティには、MOF ファイルを CIM データベースにインストールするアプリケーションのディレクトリ パスが含まれています。

 WMI 

Returns:

  • (string)

    MofSelfInstallDirectory



160
161
162
# File 'lib/Win32_WMISetting.rb', line 160

def MofSelfInstallDirectory
  @MofSelfInstallDirectory
end

- (string) SettingID (readonly)

CIM_Setting オブジェクトを認識する識別子です。

Returns:

  • (string)

    SettingID



165
166
167
# File 'lib/Win32_WMISetting.rb', line 165

def SettingID
  @SettingID
end