Class: WMI::Win32_TSClientSetting
- Inherits:
-
Base
- Object
- Base
- WMI::Win32_TSClientSetting
- Defined in:
- lib/Win32_TSClientSetting.rb
Overview
Setting クラスは、1 つ以上の ManagedSystemElement の構成関連パラメータおよび操作パラメータを表しています。ManagedSystemElement にはそれに関連付けられた複数の設定オブジェクトがあります。要素パラメータの現在の操作可能値は、要素自体のプロパティ、またはその関連付けのプロパティによって反映されます。これらのプロパティでは、設定オブジェクトで同じ値を持つ必要はありません。たとえば、モデムの設定では 56 KB/秒ボー レートですが、操作は 19.2 KB/秒で行われます。
Instance Attribute Summary (collapse)
-
- (uint32) AudioMapping
readonly
オーディオ マッピングを有効または無効に指定します。.
-
- (string) Caption
readonly
CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。.
-
- (uint32) ClipboardMapping
readonly
クリップボード マッピングを有効または無効に指定します。.
-
- (uint32) ColorDepth
readonly
ColorDepth を設定します。.
-
- (uint32) ColorDepthPolicy
readonly
ユーザーの色の最大設定値を上書きするかどうかを指定します。.
-
- (uint32) COMPortMapping
readonly
COM ポート マッピングを有効または無効に指定します。.
-
- (uint32) ConnectClientDrivesAtLogon
readonly
クライアントのドライブに、ログオン時に自動的に接続するかどうかを指定します。.
-
- (uint32) ConnectionPolicy
接続の設定を取得するために、サーバがどのポリシーを使用するかを説明します。.
-
- (uint32) ConnectPrinterAtLogon
readonly
マップされたすべてのローカル クライアント プリンタに、ログオン時に自動的に接続するかどうかを指定します。.
-
- (uint32) DefaultToClientPrinter
readonly
クライアントのローカル プリンタに自動的に印刷するかどうかを指定します。.
-
- (string) Description
readonly
CIM_Setting オブジェクトの説明です。.
-
- (uint32) DriveMapping
readonly
ドライブ マッピングを有効または無効に指定します。.
-
- (uint32) LPTPortMapping
readonly
LPT ポート マッピングを有効または無効に指定します。.
-
- (string) SettingID
readonly
CIM_Setting オブジェクトを認識する識別子です。.
-
- (string) TerminalName
readonly
ターミナルの名前です。.
-
- (uint32) WindowsPrinterMapping
readonly
クライアントの windows のプリンタ マッピングを有効または無効に指定します。.
Instance Method Summary (collapse)
-
- (uint32) ConnectionSettings(ConnectClientDrivesAtLogon, ConnectPrinterAtLogon, DefaultToClientPrinter)
プロパティ ConnectClientDrivesAtLogon、ConnectPrinterAtLogon および DefaultToClientPrinter を設定します。 サーバー上書きモードで呼び出しが成功である場合は 0 の整数値を、設定がグループ制御ポリシーにある場合はエラーを返します。.
-
- (uint32) SetClientProperty(PropertyName, Value)
PropertyName はプロパティの列挙です: 0 = LPTPortMapping、1 = COMPortMapping、2 = AudioMapping、3 = ClipboardMapping および 4 = WindowsPrinterMapping です。 これらは、値が 0 か 1 のいずれに設定されるかにより False または True のフラグになります。 呼び出しは PropertyName がグループ ポリシーにない場合は成功の 0 を返し、そうでなければエラーを返します。.
-
- (uint32) SetColorDepth(ColorDepth)
ColorDepth プロパティを次の値の 1 つに設定します 0 = 256 ビット、1 = 15 バイト、2 = 16 バイト、および 3 = 24 バイト。 サーバー上書きモードの場合に呼び出しが成功であれば 0 の整数値を、設定がグループ制御ポリシーにある場合はエラーを返します。.
-
- (uint32) SetColorDepthPolicy(ColorDepthPolicy)
ユーザーの色の最大設定値の上書きを有効または無効にします。.
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
- (uint32) AudioMapping (readonly)
オーディオ マッピングを有効または無効に指定します。
42 43 44 |
# File 'lib/Win32_TSClientSetting.rb', line 42 def AudioMapping @AudioMapping end |
- (string) Caption (readonly)
CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。
47 48 49 |
# File 'lib/Win32_TSClientSetting.rb', line 47 def Caption @Caption end |
- (uint32) ClipboardMapping (readonly)
クリップボード マッピングを有効または無効に指定します。
52 53 54 |
# File 'lib/Win32_TSClientSetting.rb', line 52 def ClipboardMapping @ClipboardMapping end |
- (uint32) ColorDepth (readonly)
ColorDepth を設定します。
57 58 59 |
# File 'lib/Win32_TSClientSetting.rb', line 57 def ColorDepth @ColorDepth end |
- (uint32) ColorDepthPolicy (readonly)
ユーザーの色の最大設定値を上書きするかどうかを指定します。
62 63 64 |
# File 'lib/Win32_TSClientSetting.rb', line 62 def ColorDepthPolicy @ColorDepthPolicy end |
- (uint32) COMPortMapping (readonly)
COM ポート マッピングを有効または無効に指定します。
67 68 69 |
# File 'lib/Win32_TSClientSetting.rb', line 67 def COMPortMapping @COMPortMapping end |
- (uint32) ConnectClientDrivesAtLogon (readonly)
クライアントのドライブに、ログオン時に自動的に接続するかどうかを指定します。
72 73 74 |
# File 'lib/Win32_TSClientSetting.rb', line 72 def ConnectClientDrivesAtLogon @ConnectClientDrivesAtLogon end |
- (uint32) ConnectionPolicy
接続の設定を取得するために、サーバがどのポリシーを使用するかを説明します。
77 78 79 |
# File 'lib/Win32_TSClientSetting.rb', line 77 def ConnectionPolicy @ConnectionPolicy end |
- (uint32) ConnectPrinterAtLogon (readonly)
マップされたすべてのローカル クライアント プリンタに、ログオン時に自動的に接続するかどうかを指定します。
82 83 84 |
# File 'lib/Win32_TSClientSetting.rb', line 82 def ConnectPrinterAtLogon @ConnectPrinterAtLogon end |
- (uint32) DefaultToClientPrinter (readonly)
クライアントのローカル プリンタに自動的に印刷するかどうかを指定します。
87 88 89 |
# File 'lib/Win32_TSClientSetting.rb', line 87 def DefaultToClientPrinter @DefaultToClientPrinter end |
- (string) Description (readonly)
CIM_Setting オブジェクトの説明です。
92 93 94 |
# File 'lib/Win32_TSClientSetting.rb', line 92 def Description @Description end |
- (uint32) DriveMapping (readonly)
ドライブ マッピングを有効または無効に指定します。
97 98 99 |
# File 'lib/Win32_TSClientSetting.rb', line 97 def DriveMapping @DriveMapping end |
- (uint32) LPTPortMapping (readonly)
LPT ポート マッピングを有効または無効に指定します。
102 103 104 |
# File 'lib/Win32_TSClientSetting.rb', line 102 def LPTPortMapping @LPTPortMapping end |
- (string) SettingID (readonly)
CIM_Setting オブジェクトを認識する識別子です。
107 108 109 |
# File 'lib/Win32_TSClientSetting.rb', line 107 def SettingID @SettingID end |
- (string) TerminalName (readonly)
ターミナルの名前です。
112 113 114 |
# File 'lib/Win32_TSClientSetting.rb', line 112 def TerminalName @TerminalName end |
- (uint32) WindowsPrinterMapping (readonly)
クライアントの windows のプリンタ マッピングを有効または無効に指定します。
117 118 119 |
# File 'lib/Win32_TSClientSetting.rb', line 117 def WindowsPrinterMapping @WindowsPrinterMapping end |
Instance Method Details
- (uint32) ConnectionSettings(ConnectClientDrivesAtLogon, ConnectPrinterAtLogon, DefaultToClientPrinter)
プロパティ ConnectClientDrivesAtLogon、ConnectPrinterAtLogon および DefaultToClientPrinter を設定します。 サーバー上書きモードで呼び出しが成功である場合は 0 の整数値を、設定がグループ制御ポリシーにある場合はエラーを返します。
26 27 |
# File 'lib/Win32_TSClientSetting.rb', line 26 def ConnectionSettings ConnectClientDrivesAtLogon, ConnectPrinterAtLogon, DefaultToClientPrinter end |
- (uint32) SetClientProperty(PropertyName, Value)
PropertyName はプロパティの列挙です: 0 = LPTPortMapping、1 = COMPortMapping、2 = AudioMapping、3 = ClipboardMapping および 4 = WindowsPrinterMapping です。 これらは、値が 0 か 1 のいずれに設定されるかにより False または True のフラグになります。 呼び出しは PropertyName がグループ ポリシーにない場合は成功の 0 を返し、そうでなければエラーを返します。
36 37 |
# File 'lib/Win32_TSClientSetting.rb', line 36 def SetClientProperty PropertyName, Value end |
- (uint32) SetColorDepth(ColorDepth)
ColorDepth プロパティを次の値の 1 つに設定します 0 = 256 ビット、1 = 15 バイト、2 = 16 バイト、および 3 = 24 バイト。 サーバー上書きモードの場合に呼び出しが成功であれば 0 の整数値を、設定がグループ制御ポリシーにある場合はエラーを返します。
16 17 |
# File 'lib/Win32_TSClientSetting.rb', line 16 def SetColorDepth ColorDepth end |
- (uint32) SetColorDepthPolicy(ColorDepthPolicy)
ユーザーの色の最大設定値の上書きを有効または無効にします。
8 9 |
# File 'lib/Win32_TSClientSetting.rb', line 8 def SetColorDepthPolicy ColorDepthPolicy end |