ProcessModelSection.Password Eigenschap

Definitie

Hiermee haalt u een waarde op die aangeeft welk wachtwoord moet worden gebruikt voor de Windows identiteit.

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

Waarde van eigenschap

Het wachtwoord dat moet worden gebruikt. De standaardwaarde is AutoGenerate.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u toegang hebt tot de Password eigenschap.


// 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"

Opmerkingen

De Password eigenschap moet worden gebruikt met de UserName eigenschap.

Deze eigenschapswaarden zorgen ervoor dat het werkproces wordt uitgevoerd met de geconfigureerde Windows identiteit.

Van toepassing op

Zie ook