Share via


ProcessModelSection.Password プロパティ

定義

Windows ID に使用するパスワードを示す値を取得または設定します。

public:
 property System::String ^ Password { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("password", DefaultValue="AutoGenerate")]
public string Password { get; set; }
[<System.Configuration.ConfigurationProperty("password", DefaultValue="AutoGenerate")>]
member this.Password : string with get, set
Public Property Password As String

プロパティ値

使用するパスワード。 既定値は AutoGenerate です。

属性

Password プロパティへのアクセス方法を次のコード例に示します。


// Get the current Password property value.
string password = 
    processModelSection.Password;

// Set the Password property to "CUPassword".
processModelSection.Password = "CUPassword";
' Get the current Password property value.
   Dim password As String = _
   processModelSection.Password

' Set the Password property to "CUPassword".
processModelSection.Password = "CUPassword"

注釈

プロパティは Password 、 プロパティと共に使用する UserName 必要があります。

これらのプロパティ値が存在する場合、ワーカー プロセスは構成された Windows ID で実行されます。

適用対象

こちらもご覧ください