ProcessModelSection.Password Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating the password to use for the Windows identity.
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
Property Value
The password to use. The default value is AutoGenerate.
- Attributes
Examples
The following code example shows how to access the Password property.
// 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"
Remarks
The Password property must be used with the UserName property.
When present, these property values cause the worker process to run with the configured Windows identity.
Applies to
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.