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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈