PutOptions コンストラクター

定義

PutOptions クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
PutOptions()

既定の値を使用して、put 操作用に PutOptions クラスの新しいインスタンスを初期化します。 これはパラメーターなしのコンストラクターです。

PutOptions(ManagementNamedValueCollection)

指定したプロバイダー固有のコンテキストを使用して、WMI オブジェクトをコミットするための PutOptions クラスの新しいインスタンスを初期化します。

PutOptions(ManagementNamedValueCollection, TimeSpan, Boolean, PutType)

指定したオプション値を使用して、WMI オブジェクトをコミットするための PutOptions クラスの新しいインスタンスを初期化します。

PutOptions()

ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs

既定の値を使用して、put 操作用に PutOptions クラスの新しいインスタンスを初期化します。 これはパラメーターなしのコンストラクターです。

public:
 PutOptions();
public PutOptions();
Public Sub New ()

注釈

.NET Framework のセキュリティ

直接呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されたコードでは使用できません。 詳細については、「 部分信頼コードからのライブラリの使用」を参照してください。

適用対象

PutOptions(ManagementNamedValueCollection)

ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs

指定したプロバイダー固有のコンテキストを使用して、WMI オブジェクトをコミットするための PutOptions クラスの新しいインスタンスを初期化します。

public:
 PutOptions(System::Management::ManagementNamedValueCollection ^ context);
public PutOptions(System.Management.ManagementNamedValueCollection context);
new System.Management.PutOptions : System.Management.ManagementNamedValueCollection -> System.Management.PutOptions
Public Sub New (context As ManagementNamedValueCollection)

パラメーター

context
ManagementNamedValueCollection

プロバイダーに渡されるプロバイダー固有の名前付き値ペアコンテキスト オブジェクト。

注釈

.NET Framework のセキュリティ

直接呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されたコードでは使用できません。 詳細については、「 部分信頼コードからのライブラリの使用」を参照してください。

適用対象

PutOptions(ManagementNamedValueCollection, TimeSpan, Boolean, PutType)

ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs

指定したオプション値を使用して、WMI オブジェクトをコミットするための PutOptions クラスの新しいインスタンスを初期化します。

public:
 PutOptions(System::Management::ManagementNamedValueCollection ^ context, TimeSpan timeout, bool useAmendedQualifiers, System::Management::PutType putType);
public PutOptions(System.Management.ManagementNamedValueCollection context, TimeSpan timeout, bool useAmendedQualifiers, System.Management.PutType putType);
new System.Management.PutOptions : System.Management.ManagementNamedValueCollection * TimeSpan * bool * System.Management.PutType -> System.Management.PutOptions
Public Sub New (context As ManagementNamedValueCollection, timeout As TimeSpan, useAmendedQualifiers As Boolean, putType As PutType)

パラメーター

context
ManagementNamedValueCollection

プロバイダーに渡されるプロバイダー固有の名前付き値ペア オブジェクト。

timeout
TimeSpan

タイムアウトするまでの操作の実行時間。既定値は TimeSpan.MaxValue です

useAmendedQualifiers
Boolean

true 返されたオブジェクトに修正された (ロケールに対応する) 修飾子を含める必要がある場合。それ以外の場合は false

putType
PutType

実行するコミットの種類 (更新または作成)。

注釈

.NET Framework のセキュリティ

直接呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されたコードでは使用できません。 詳細については、「 部分信頼コードからのライブラリの使用」を参照してください。

適用対象